/*
 * MIT License
 *
 * Copyright (c) 2026 RealDevAI Co
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

:root {
  --bg: #f4f1e8;
  --surface: #e9e5da;
  --ink: #11120f;
  --muted: #67675f;
  --line: rgba(17, 18, 15, 0.19);
  --lime: #d8ff4f;
  --violet: #735cff;
  --coral: #ff6948;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #10110e;
  --surface: #1a1b17;
  --ink: #f3f0e7;
  --muted: #aaa99f;
  --line: rgba(243, 240, 231, 0.18);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: "Space Grotesk", sans-serif; transition: background-color 250ms ease, color 250ms ease; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.brand-header { height: 86px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.wordmark { width: max-content; font-weight: 700; font-size: 1.28rem; letter-spacing: -0.07em; }
.wordmark span { display: inline-block; padding: 0.14em 0.28em; margin-right: 0.12em; background: var(--ink); color: var(--bg); }
.wordmark sup { margin-left: 0.2em; color: var(--coral); font: 500 0.44em "DM Mono", monospace; letter-spacing: 0; }
.brand-header nav { display: flex; gap: 2.4rem; font: 500 0.73rem "DM Mono", monospace; text-transform: uppercase; }
.brand-header nav a { position: relative; }
.brand-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right 180ms ease; }
.brand-header nav a:hover::after, .brand-header nav a[aria-current="page"]::after { right: 0; }
.brand-actions { justify-self: end; display: flex; align-items: center; gap: 0.8rem; }
.small-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 2.2rem; border: 1px solid var(--ink); font: 600 0.73rem "DM Mono", monospace; text-transform: uppercase; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.small-cta { padding: 0.85rem 1rem; }
.small-cta:hover, .button:hover { transform: translateY(-3px); }
.brand-theme { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; }
.brand-theme span { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink); box-shadow: inset 7px 0 0 var(--ink); transition: transform 220ms ease; }
.brand-theme:hover span { transform: rotate(35deg); }
[data-theme="dark"] .brand-theme span { box-shadow: inset -7px 0 0 var(--ink); }
.nav-toggle { display: none; }

.brand-hero { min-height: calc(100vh - 86px); display: grid; grid-template-columns: 1.12fr 0.88fr; border-bottom: 1px solid var(--line); }
.hero-message { padding: clamp(5rem, 8vw, 8.5rem) 4vw 4rem; display: flex; flex-direction: column; align-items: flex-start; }
.brand-kicker, .section-tag { margin: 0; font: 500 0.68rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.brand-kicker span { display: inline-block; width: 8px; height: 8px; margin-right: 0.7rem; border-radius: 50%; background: var(--coral); }
.hero-message h1, .page-hero h1 { margin: 2.2rem 0; font-size: clamp(4rem, 8.8vw, 9.6rem); font-weight: 600; line-height: 0.85; letter-spacing: -0.085em; }
.hero-message h1 em, .page-hero h1 em, .section-lead h2 em, .proof-section em, .pricing-heading em, .included-section em, .brand-cta em { color: var(--violet); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { width: min(560px, 85%); margin: auto 0 2.5rem; color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.hero-buttons { display: flex; align-items: center; gap: 2rem; }
.button { min-height: 54px; padding: 0 1.3rem; }
.button-dark { background: var(--ink); color: var(--bg); }
.button-light { border-color: #f4f1e8; background: #f4f1e8; color: #11120f; }
.text-link { font: 500 0.75rem "DM Mono", monospace; border-bottom: 1px solid currentColor; padding-bottom: 0.35rem; }

.hero-stage { min-height: 640px; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--lime); color: #11120f; border-left: 1px solid var(--line); }
.stage-orbit { position: absolute; border: 1px solid rgba(17, 18, 15, 0.28); border-radius: 50%; }
.orbit-one { width: 82%; aspect-ratio: 1; }
.orbit-two { width: 120%; aspect-ratio: 1; }
.browser-card { width: min(72%, 490px); position: relative; z-index: 2; background: #f7f5ef; border: 1px solid #11120f; box-shadow: 20px 22px 0 rgba(17, 18, 15, 0.16); transform: rotate(-3deg); transition: transform 450ms cubic-bezier(.2,.8,.2,1); }
.hero-stage:hover .browser-card { transform: rotate(0) translateY(-8px); }
.browser-top { height: 34px; padding: 0 0.75rem; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #11120f; }
.browser-top i { width: 7px; height: 7px; border: 1px solid #11120f; border-radius: 50%; }
.browser-top span { margin-left: auto; font: 0.52rem "DM Mono", monospace; }
.browser-body { min-height: 340px; padding: 2rem; position: relative; overflow: hidden; }
.browser-body > p { position: relative; z-index: 2; margin: 0; font-size: clamp(2rem, 4vw, 4.6rem); line-height: 0.92; letter-spacing: -0.07em; }
.browser-body strong { color: var(--violet); font-family: Georgia, serif; font-weight: 400; }
.browser-mark { position: absolute; right: -20px; bottom: -50px; color: var(--coral); font-size: 16rem; font-weight: 700; line-height: 1; transform: rotate(12deg); opacity: 0.9; }
.browser-lines { position: absolute; left: 2rem; bottom: 2rem; display: grid; gap: 6px; }
.browser-lines i { display: block; width: 90px; height: 4px; background: #11120f; }
.browser-lines i:nth-child(2) { width: 64px; }.browser-lines i:nth-child(3) { width: 42px; }
.stage-note { position: absolute; z-index: 3; padding: 0.7rem; background: #11120f; color: #f4f1e8; font: 0.58rem/1.4 "DM Mono", monospace; text-transform: uppercase; }
.stage-note strong { display: block; margin-top: 0.4rem; color: var(--lime); font-size: 1.2rem; }
.note-top { top: 12%; right: 5%; transform: rotate(5deg); }.note-bottom { bottom: 10%; left: 6%; transform: rotate(-4deg); }

.brand-strip { height: 46px; overflow: hidden; display: flex; align-items: center; background: var(--ink); color: var(--bg); font: 500 0.68rem "DM Mono", monospace; white-space: nowrap; }
.brand-strip div { animation: ticker 24s linear infinite; }.brand-strip span { margin: 0 1.6rem; color: var(--lime); }
.brand-section { padding: 8rem 4vw; }
.services-section { border-bottom: 1px solid var(--line); }
.section-lead { margin: 3rem 0 6rem 25%; display: grid; grid-template-columns: 2.2fr 1fr; gap: 5rem; align-items: end; }
.section-lead h2, .pricing-heading h2 { margin: 0; font-size: clamp(3rem, 6vw, 7rem); line-height: 0.95; letter-spacing: -0.07em; font-weight: 500; }
.section-lead p { margin: 0; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { min-height: 390px; padding: 1.5rem; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service > span { font: 0.65rem "DM Mono", monospace; }
.service h3 { margin: auto 0 1rem; font-size: 1.45rem; letter-spacing: -0.045em; }
.service p { min-height: 75px; margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.65; }
.service-symbol { width: 105px; height: 105px; margin: 3rem auto; position: relative; }
.symbol-strategy { border: 2px solid var(--ink); border-radius: 50%; box-shadow: 22px 0 0 -1px var(--bg), 22px 0 0 0 var(--ink); }
.symbol-design { background: var(--violet); transform: rotate(45deg); }.symbol-design::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: var(--bg); }
.symbol-build::before, .symbol-build::after { content: ""; position: absolute; width: 90px; height: 38px; border: 2px solid var(--ink); }.symbol-build::before { top: 15px; }.symbol-build::after { bottom: 15px; right: 0; background: var(--lime); }
.symbol-care { border-radius: 50%; background: repeating-conic-gradient(var(--coral) 0 12deg, transparent 12deg 24deg); }.symbol-care::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: var(--bg); }

.proof-section { padding: 7rem 4vw; display: grid; grid-template-columns: 1fr 2.4fr auto; align-items: end; gap: 4rem; background: var(--violet); color: #f4f1e8; }
.proof-number { display: flex; align-items: end; gap: 1rem; }.proof-number strong { font-size: 5rem; line-height: 0.8; letter-spacing: -0.08em; }.proof-number span { font: 0.63rem/1.5 "DM Mono", monospace; text-transform: uppercase; }
.proof-section blockquote { margin: 0; font-size: clamp(2.7rem, 5.5vw, 6.3rem); line-height: 0.95; letter-spacing: -0.065em; }.proof-section em { color: var(--lime); }
.round-link { width: 110px; height: 110px; border: 1px solid #f4f1e8; border-radius: 50%; display: grid; place-content: center; text-align: center; font: 0.64rem/1.5 "DM Mono", monospace; text-transform: uppercase; }.round-link span { font-size: 1rem; }

.pricing-preview { border-bottom: 1px solid var(--line); }
.pricing-heading { margin: 3rem 0 5rem; display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { min-width: 0; padding: 2rem; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg); }
.price-card.featured { background: var(--lime); color: #11120f; border-color: #11120f; transform: translateY(-1rem); }
.popular { position: absolute; top: 0; right: 0; padding: 0.45rem 0.7rem; background: var(--coral); color: #11120f; font: 500 0.58rem "DM Mono", monospace; text-transform: uppercase; }
.price-card > p:first-of-type, .plan-top > p { margin: 0 0 2rem; font: 500 0.72rem "DM Mono", monospace; text-transform: uppercase; }
.price-card h3 { margin: 0; font-size: clamp(3rem, 5vw, 5.8rem); line-height: 1; letter-spacing: -0.08em; }.price-card > span, .monthly { color: currentColor; opacity: 0.6; font: 0.68rem "DM Mono", monospace; }
.price-card ul { min-height: 150px; margin: 2.5rem 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }.price-card li { padding: 0.75rem 0; border-bottom: 1px solid currentColor; font-size: 0.83rem; opacity: 0.75; }
.price-card > a { margin-top: auto; padding: 1rem 0; display: flex; justify-content: space-between; border-bottom: 1px solid currentColor; font: 600 0.7rem "DM Mono", monospace; text-transform: uppercase; }

.brand-cta { padding: 8rem 4vw; position: relative; background: var(--coral); color: #11120f; }.brand-cta p { font: 0.7rem "DM Mono", monospace; text-transform: uppercase; }.brand-cta h2 { margin: 2rem 0 4rem; font-size: clamp(5rem, 12vw, 13rem); line-height: 0.77; letter-spacing: -0.09em; }.brand-cta em { color: #f4f1e8; }.brand-cta .button { position: absolute; right: 4vw; bottom: 5rem; }
.brand-footer { padding: 3rem 4vw; display: grid; grid-template-columns: 1fr 1.5fr 1fr auto; gap: 2rem; align-items: center; border-top: 1px solid var(--line); }.brand-footer > p, .brand-footer > div { font: 0.62rem/1.5 "DM Mono", monospace; text-transform: uppercase; }.brand-footer div { display: flex; gap: 1rem; }

.page-hero { padding: 7rem 4vw 6rem; border-bottom: 1px solid var(--line); }.page-hero h1 { margin-bottom: 3rem; }.page-hero > p:last-child { max-width: 620px; margin: 0 0 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.full-pricing { padding: 7rem 4vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.full-pricing .price-card { min-height: 720px; }.full-pricing .price-card h2 { margin: 0; font-size: clamp(3.6rem, 6vw, 6.8rem); letter-spacing: -0.08em; }.plan-top { min-height: 80px; }.plan-top > p { margin-bottom: 0.5rem; }.plan-top span { color: var(--muted); font-size: 0.75rem; }.featured .plan-top span { color: #11120f; }.monthly { margin: 0.5rem 0 0; }
.included-section { padding: 7rem 4vw; display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; background: var(--surface); }.included-section h2 { margin: 2rem 0 0; font-size: clamp(3rem, 5vw, 6rem); line-height: 0.95; letter-spacing: -0.07em; }.included-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--line); }.included-grid p { margin: 0; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }.included-grid p:nth-child(odd) { margin-right: 2rem; }.included-grid span { display: inline-block; width: 35px; font: 0.62rem "DM Mono", monospace; color: var(--coral); }
.pricing-note { padding: 6rem 4vw; display: grid; grid-template-columns: 1fr 2fr auto; gap: 3rem; align-items: center; background: var(--ink); color: var(--bg); }.pricing-note p { font: 0.68rem "DM Mono", monospace; text-transform: uppercase; }.pricing-note h2 { font-size: clamp(2rem, 4vw, 4.4rem); letter-spacing: -0.06em; }.pricing-note a { padding-bottom: 0.5rem; border-bottom: 1px solid currentColor; font: 0.68rem "DM Mono", monospace; text-transform: uppercase; }

.contact-page { min-height: calc(100vh - 86px); display: grid; grid-template-columns: 0.92fr 1.08fr; }.contact-intro { padding: 7rem 4vw; display: flex; flex-direction: column; background: var(--violet); color: #f4f1e8; }.contact-intro h1 { margin: 2rem 0; font-size: clamp(3.7rem, 7vw, 7.6rem); line-height: 0.87; letter-spacing: -0.08em; }.contact-intro h1 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }.contact-intro > p:not(.brand-kicker) { max-width: 570px; color: rgba(244,241,232,0.72); line-height: 1.7; }.contact-aside { margin-top: auto; padding-top: 2rem; display: flex; gap: 1rem; border-top: 1px solid rgba(244,241,232,0.3); }.contact-aside span { font: 0.6rem "DM Mono", monospace; text-transform: uppercase; }.contact-aside span::before { content: "✓"; margin-right: 0.4rem; color: var(--lime); }
.brand-form-wrap { padding: 7rem 5vw; display: flex; flex-direction: column; justify-content: center; }.selected-plan { margin-bottom: 3rem; padding: 1rem 1.2rem; display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; border: 1px solid var(--ink); background: var(--lime); color: #11120f; }.selected-plan span, .selected-plan a { font: 0.62rem "DM Mono", monospace; text-transform: uppercase; }.selected-plan strong { font-size: 1.25rem; }.selected-plan a { border-bottom: 1px solid; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }.brand-form label { display: block; margin-bottom: 2rem; }.brand-form label > span { display: block; margin-bottom: 0.65rem; font: 0.62rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.07em; }.brand-form input, .brand-form textarea, .brand-form select { width: 100%; padding: 0.8rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }.brand-form textarea { resize: vertical; line-height: 1.6; }.brand-form input:focus, .brand-form textarea:focus, .brand-form select:focus { border-color: var(--violet); }.form-trap { position: absolute; left: -9999px; }.submit-row { display: flex; align-items: center; gap: 2rem; }.submit-row button { cursor: pointer; }.submit-row button:disabled { opacity: 0.5; cursor: wait; }.submit-row p { margin: 0; color: var(--muted); font: 0.68rem/1.5 "DM Mono", monospace; }.submit-row p.error { color: var(--coral); }

.brand-reveal { opacity: 0; transform: translateY(25px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }.brand-reveal.visible { opacity: 1; transform: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .brand-header { grid-template-columns: 1fr auto auto; gap: 0.7rem; }
  .brand-header nav { position: absolute; top: 86px; left: 0; width: 100%; padding: 2rem 4vw; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; z-index: -1; transition: 220ms ease; }.brand-header nav.open { transform: none; opacity: 1; }
  .nav-toggle { display: flex; order: 3; align-items: center; gap: 0.5rem; border: 0; background: transparent; color: var(--ink); font: 0.65rem "DM Mono", monospace; text-transform: uppercase; }.nav-toggle i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
  .brand-actions { order: 2; }.small-cta { display: none; }
  .brand-hero { grid-template-columns: 1fr; }.hero-message { min-height: 700px; }.hero-stage { min-height: 680px; border-left: 0; border-top: 1px solid var(--line); }
  .section-lead { margin-left: 0; grid-template-columns: 1.7fr 1fr; }.service-grid { grid-template-columns: 1fr 1fr; }
  .proof-section { grid-template-columns: 1fr auto; }.proof-section blockquote { grid-column: 1 / -1; grid-row: 1; }.proof-number { grid-row: 2; }
  .price-grid, .full-pricing { grid-template-columns: 1fr; }.price-card.featured { transform: none; }.compact-prices .price-card { min-height: 440px; }.full-pricing .price-card { min-height: 0; }
  .contact-page { grid-template-columns: 1fr; }.contact-intro { min-height: 720px; }.brand-form-wrap { min-height: 720px; }
  .brand-footer { grid-template-columns: 1fr 1fr; }.brand-footer > p:last-child { text-align: right; }
}

@media (max-width: 620px) {
  .brand-header { height: 74px; }.brand-header nav { top: 74px; }.wordmark { font-size: 1rem; }
  .hero-message { min-height: 650px; padding-top: 4.5rem; }.hero-message h1, .page-hero h1 { font-size: 17vw; }.hero-intro { width: 100%; }.hero-buttons { align-items: flex-start; flex-direction: column; }
  .hero-stage { min-height: 520px; }.browser-card { width: 78%; }.browser-body { min-height: 270px; }.browser-mark { font-size: 11rem; }.stage-note { display: none; }
  .brand-section { padding: 6rem 4vw; }.section-lead { margin: 2rem 0 4rem; display: block; }.section-lead h2 { margin-bottom: 2rem; }.service-grid { grid-template-columns: 1fr; }.service { min-height: 360px; }
  .proof-section { padding: 5rem 4vw; gap: 3rem 1rem; }.proof-section blockquote { font-size: 12vw; }.round-link { width: 90px; height: 90px; }
  .pricing-heading { display: block; }.pricing-heading h2 { margin-bottom: 2rem; }.price-card { padding: 1.5rem; }
  .brand-cta { padding: 6rem 4vw 11rem; }.brand-cta h2 { font-size: 22vw; }.brand-cta .button { left: 4vw; right: auto; bottom: 4rem; }
  .page-hero { padding-top: 5rem; }.full-pricing { padding: 5rem 4vw; }.included-section { padding: 5rem 4vw; grid-template-columns: 1fr; }.included-grid { grid-template-columns: 1fr; }.included-grid p:nth-child(odd) { margin-right: 0; }.pricing-note { grid-template-columns: 1fr; }
  .contact-intro { min-height: 650px; padding: 5rem 4vw; }.contact-intro h1 { font-size: 16vw; }.contact-aside { flex-direction: column; }.brand-form-wrap { min-height: 0; padding: 5rem 4vw; }.field-row { grid-template-columns: 1fr; gap: 0; }.selected-plan { grid-template-columns: 1fr auto; gap: 0.5rem; }.selected-plan strong { grid-row: 2; }.submit-row { align-items: flex-start; flex-direction: column; }
  .brand-footer { grid-template-columns: 1fr; }.brand-footer > p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }.brand-reveal { opacity: 1; transform: none; }
}
