@font-face { font-family: 'Inter'; src: url('/fonts/inter_font.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; } // THEME TOKENS :root { --bg: #fafaf9; --bg-elevated: #ffffff; --surface: #f4f4f3; --border: #e7e5e4; --border-strong: #d6d3d1; --text: #0c0a09; --text-muted: #57534e; --text-subtle: #a8a29e; --accent: #059669; --accent-strong: #047857; --accent-soft: rgba(16, 185, 129, 0.1); --accent-glow: rgba(16, 185, 129, 0.18); --on-accent: #ffffff; --grid-dot: rgba(12, 10, 9, 0.07); --shadow-card: 0 1px 2px rgba(12, 10, 9, 0.04), 0 8px 24px -12px rgba(12, 10, 9, 0.12); --shadow-lift: 0 2px 4px rgba(12, 10, 9, 0.04), 0 20px 40px -16px rgba(12, 10, 9, 0.2); --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-full: 9999px; --shell: 1120px; --header-h: 68px; --ease: cubic-bezier(0.22, 1, 0.36, 1); color-scheme: light; } [data-theme='dark'] { --bg: #09090b; --bg-elevated: #111113; --surface: #18181b; --border: #232327; --border-strong: #34343a; --text: #fafafa; --text-muted: #a1a1aa; --text-subtle: #63636b; --accent: #34d399; --accent-strong: #6ee7b7; --accent-soft: rgba(52, 211, 153, 0.1); --accent-glow: rgba(52, 211, 153, 0.14); --on-accent: #052e1f; --grid-dot: rgba(255, 255, 255, 0.06); --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow-lift: 0 20px 40px -16px rgba(0, 0, 0, 0.7); color-scheme: dark; } // BASE *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); } body { font-family: var(--font-sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; transition: background-color 0.3s ease, color 0.3s ease; } a { color: inherit; text-decoration: none; } img { display: block; max-width: 100%; } ul { list-style: none; } button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; } ::selection { background: var(--accent); color: var(--on-accent); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; } .icon { flex-shrink: 0; } .shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; } .page { min-height: 100vh; display: flex; flex-direction: column; } .main-content { flex: 1; } .text-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; transition: text-decoration-color 0.2s ease; &:hover { text-decoration-color: var(--accent); } } // BUTTONS & PRIMITIVES .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--radius-full); font-size: 0.9375rem; font-weight: 550; white-space: nowrap; border: 1px solid transparent; transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; .icon { transition: transform 0.2s var(--ease); } &:hover .icon { transform: translateX(2px); } &:active { transform: scale(0.98); } } .button-primary { background: var(--text); color: var(--bg); &:hover { box-shadow: 0 8px 24px -8px var(--accent-glow), 0 0 0 4px var(--accent-soft); } } .button-ghost { border-color: var(--border-strong); color: var(--text); &:hover { background: var(--surface); } } .button-small { height: 36px; padding: 0 16px; font-size: 0.875rem; } .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-full); color: var(--text-muted); border: 1px solid var(--border); background: var(--bg-elevated); transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease); &:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); } } .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-full); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; } .pill-accent { background: var(--accent-soft); color: var(--accent-strong); } [data-theme='dark'] .pill-accent { color: var(--accent); } .live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; &::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease) infinite; } } .tag-list { display: flex; flex-wrap: wrap; gap: 6px; } .tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); padding: 3px 9px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); } .tag-large { font-size: 0.8125rem; padding: 6px 12px; color: var(--text); background: var(--bg-elevated); transition: border-color 0.2s ease, color 0.2s ease; &:hover { border-color: var(--accent); color: var(--accent-strong); } } [data-theme='dark'] .tag-large:hover { color: var(--accent); } // HEADER .header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease; &.is-scrolled, &.is-open { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: var(--border); } } .navbar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; } .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; } .logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--text); color: var(--bg); font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: -0.02em; } .logo-text { font-family: var(--font-mono); font-size: 0.9375rem; letter-spacing: -0.01em; } .logo-dot { color: var(--text-subtle); } .nav-links { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--radius-full); border: 1px solid var(--border); background: color-mix(in srgb, var(--bg-elevated) 70%, transparent); } .nav-link { padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s ease, background-color 0.2s ease; &:hover { color: var(--text); background: var(--surface); } } .nav-actions { display: flex; align-items: center; gap: 8px; } .nav-menu { display: none; } // HERO .hero { position: relative; padding: 72px 0 32px; overflow: hidden; } .hero-backdrop { position: absolute; inset: calc(var(--header-h) * -1) 0 0; z-index: -1; background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); &::before { content: ''; position: absolute; top: -10%; right: 5%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 65%); filter: blur(20px); } } .hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; } .hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; > * { animation: rise 0.8s var(--ease) both; } > :nth-child(2) { animation-delay: 80ms; } > :nth-child(3) { animation-delay: 160ms; } > :nth-child(4) { animation-delay: 240ms; } > :nth-child(5) { animation-delay: 320ms; } } .hero-title { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; } .hero-title-muted { display: block; margin-top: 12px; font-size: 0.52em; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; color: var(--text-muted); max-width: 20ch; } .hero-subtitle { font-size: 1.0625rem; color: var(--text-muted); max-width: 54ch; } .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.875rem; color: var(--text-muted); } .meta-item { display: inline-flex; align-items: center; gap: 6px; } .meta-divider { width: 1px; height: 20px; background: var(--border-strong); } .social-links { display: flex; flex-wrap: wrap; gap: 8px; } .social-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); font-size: 0.9375rem; font-weight: 500; transition: background-color 0.2s ease, transform 0.2s var(--ease); &:hover { background: var(--surface); transform: translateY(-1px); } } // HERO VISUAL .hero-visual { position: relative; justify-self: end; width: 100%; max-width: 400px; animation: rise 1s var(--ease) 0.2s both; } .portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; padding: 8px; background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow-lift); transform: rotate(2deg); transition: transform 0.6s var(--ease); &:hover { transform: rotate(0deg); } } .portrait-image { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; filter: saturate(0.95); } .terminal-card { position: absolute; left: -48px; bottom: -28px; width: min(300px, 85%); border-radius: 14px; background: #0c0c0e; color: #e4e4e7; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.45); font-family: var(--font-mono); font-size: 0.8125rem; overflow: hidden; animation: float 6s ease-in-out infinite; } .terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); span { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; &:nth-child(1) { background: #ff5f57; } &:nth-child(2) { background: #febc2e; } &:nth-child(3) { background: #28c840; } } em { margin-left: auto; font-style: normal; font-size: 0.6875rem; color: #71717a; } } .terminal-body { padding: 14px 16px 16px; line-height: 1.8; white-space: pre-wrap; font-family: inherit; } .t-prompt { color: #34d399; margin-right: 6px; } .t-accent { color: #fafafa; font-weight: 600; } .t-muted { color: #a1a1aa; } .animated-name { display: inline-block; .is-entering, .is-leaving { display: inline-block; transition: opacity 0.35s ease, transform 0.35s var(--ease), filter 0.35s ease; } .is-leaving { opacity: 0; transform: translateY(-6px); filter: blur(4px); } &::after { content: '▋'; margin-left: 2px; color: #34d399; animation: blink 1.1s steps(1) infinite; } } // STATS .stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); overflow: hidden; } .stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 24px 28px; & + & { border-left: 1px solid var(--border); } } .stat-value { font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; } .stat-label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); } // SECTIONS .section { padding: 96px 0; } .section-heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 640px; } .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent-strong); letter-spacing: 0.02em; } [data-theme='dark'] .eyebrow { color: var(--accent); } .eyebrow-index { color: var(--text-subtle); &::after { content: '/'; margin-left: 10px; } } .section-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; } .section-lead { font-size: 1.0625rem; color: var(--text-muted); } // ABOUT .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } .about-copy { display: flex; flex-direction: column; gap: 20px; font-size: 1.0625rem; color: var(--text-muted); p:first-child { color: var(--text); font-size: 1.1875rem; line-height: 1.55; } } .focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .card-base { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-elevated); } .focus-card { @extend .card-base; padding: 24px; &:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); } } .focus-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); } [data-theme='dark'] .focus-icon { color: var(--accent); } .focus-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; } .focus-description { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55; } // STACK .stack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .stack-group { @extend .card-base; padding: 24px; background: transparent; } .stack-title { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; } // CONTACT .contact-card { @extend .card-base; position: relative; overflow: hidden; padding: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; background: radial-gradient(80% 140% at 100% 100%, var(--accent-glow), transparent 60%), var(--bg-elevated); &::before { content: ''; position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(to left, #000, transparent 60%); -webkit-mask-image: linear-gradient(to left, #000, transparent 60%); } > * { position: relative; z-index: 1; } } .contact-title { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; max-width: 16ch; } .contact-lead { font-size: 1.0625rem; color: var(--text-muted); max-width: 52ch; margin-bottom: 8px; } // FOOTER .footer { border-top: 1px solid var(--border); padding: 28px 0; } .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .footer-text { font-size: 0.875rem; color: var(--text-muted); } // REVEAL ON SCROLL .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), border-color 0.25s ease, box-shadow 0.35s var(--ease); &.is-visible { opacity: 1; transform: none; } } // RATES PAGE .rates-section { padding-top: 64px; } .rates-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; animation: rise 0.8s var(--ease) both; .section-heading { margin-bottom: 0; } } .currency-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--bg-elevated); font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-card); .icon { color: var(--accent); } } .rates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } .rate-card { @extend .card-base; position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px; animation: rise 0.6s var(--ease) both; transition: border-color 0.25s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease); &:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-lift); .rate-arrow { transform: translate(2px, -2px); color: var(--text); } } &.is-best { border-color: var(--accent); background: radial-gradient(120% 120% at 100% 0%, var(--accent-soft), transparent 60%), var(--bg-elevated); box-shadow: 0 0 0 4px var(--accent-soft); .rate-value { color: var(--accent-strong); } } } [data-theme='dark'] .rate-card.is-best .rate-value { color: var(--accent); } .rate-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .provider-info { display: flex; align-items: center; gap: 12px; min-width: 0; } .provider-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--border); } .provider-name { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rate-value { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; } .rate-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--text-muted); } .rate-arrow { transition: transform 0.3s var(--ease), color 0.2s ease; } .rates-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding: 16px 20px; border-radius: var(--radius-md); border: 1px dashed var(--border-strong); font-size: 0.875rem; color: var(--text-muted); } .rates-timestamp { font-family: var(--font-mono); font-size: 0.8125rem; } .skeleton { pointer-events: none; animation: none; } .skeleton-line { border-radius: 6px; background: linear-gradient(90deg, var(--surface) 0%, var(--border) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; } .skeleton-header { width: 55%; height: 22px; } .skeleton-rate { width: 75%; height: 34px; } .skeleton-badge { width: 40%; height: 14px; } .state-card { @extend .card-base; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 24px; text-align: center; } .state-title { font-size: 1.25rem; font-weight: 600; } .state-message { color: var(--text-muted); max-width: 44ch; margin-bottom: 8px; } // KEYFRAMES @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } } @keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } } @keyframes blink { 50% { opacity: 0; } } @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } // RESPONSIVE @media (max-width: 960px) { .hero-grid, .about-grid { grid-template-columns: 1fr; } .hero-grid { gap: 72px; } .hero-visual { justify-self: center; max-width: 340px; } .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 760px) { .nav-links { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.3s var(--ease), visibility 0.2s; .is-open & { opacity: 1; visibility: visible; transform: none; } } .nav-link { padding: 12px 8px; font-size: 1rem; border-radius: var(--radius-sm); } .nav-cta { display: none; } .nav-menu { display: inline-flex; } .hero { padding-top: 48px; } .terminal-card { left: -16px; } .stats { margin-top: 72px; } .stat { padding: 20px 16px; } .stat-value { font-size: 1.5rem; } .section { padding: 72px 0; } .focus-grid, .stack-grid { grid-template-columns: 1fr; } .contact-card { padding: 36px 24px; } .footer-content, .rates-header { flex-direction: column; align-items: flex-start; } } @media (max-width: 420px) { .logo-text { display: none; } .hero-actions .button { flex: 1; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }