/* Istoselidakias — portfolio */
/* @fonts */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-greek-400-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-greek-500-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/inter-greek-600-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/inter-greek-700-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* @fonts-end */

:root {
  --paper: #F6F5F2;
  --ink: #111111;
  --ink-2: #55524C;
  --line: #E2DFD8;
  --card: #FFFFFF;
  --accent: #3B5BFD;
  --accent-dark: #2A47E0;
  --accent-soft: #E8ECFF;
  --radius: 18px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lb-lock { overflow: hidden; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; transition: background .2s, color .2s, border-color .2s, transform .2s; border: 1.5px solid transparent; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--sm { padding: 9px 16px; font-size: .92rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #333; }
.btn--line { border-color: rgba(17, 17, 17, .2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }

/* header */
.top { position: sticky; top: 0; z-index: 30; padding: 10px 10px 0; }
.top__bar { position: relative; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 18px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(17, 17, 17, .07); box-shadow: 0 1px 2px rgba(17, 17, 17, .04); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: background .25s, box-shadow .25s; }
.top.is-scrolled .top__bar, .top.is-open .top__bar { background: rgba(255, 255, 255, .94); box-shadow: 0 14px 34px -18px rgba(17, 17, 17, .35); }
.top .brand { margin-right: auto; padding: 4px 0; }
.top__cta { display: none !important; }
.top__cta svg, .top__menu-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.top__cta:hover svg, .top__menu-cta:hover svg { transform: translateX(3px); }
.top__toggle { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 5px; flex: none; }
.top__toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s; }
.top.is-open .top__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.top.is-open .top__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.top__nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; gap: 2px; padding: 8px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(17, 17, 17, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.top.is-open .top__nav { opacity: 1; visibility: visible; transform: none; }
.top__nav a { padding: 13px 16px; border-radius: 16px; font-weight: 500; font-size: 1.05rem; }
.top__nav a:hover, .top__nav a.is-active { background: var(--paper); }
.top__nav .top__menu-cta { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 600; border-radius: 999px; }
.top__nav .top__menu-cta:hover { background: #333; }
section[id] { scroll-margin-top: 88px; }
.brand { display: block; }
.brand img, .brand .logo { height: 27px; width: auto; overflow: visible; }

/* Logo: the first i-dot drops, gets dragged into the underline, and a new dot pops back.
   The base styles are the final state, so no-JS / reduced-motion visitors see the finished logo. */
.logo__home, .logo__mover { transform-box: fill-box; transform-origin: center; }
.logo__mover { transform: translate(var(--dx), var(--dy)) scale(.75); }
.logo__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .logo .logo__mover { animation: logo-drag 1.8s .4s both; }
  .logo .logo__line { animation: logo-line 1.8s .4s both; }
  .logo .logo__home { animation: logo-pop 1.8s .4s both; }
  .logo.is-replay .logo__mover { animation: logo-drag-b 1.8s both; }
  .logo.is-replay .logo__line { animation: logo-line-b 1.8s both; }
  .logo.is-replay .logo__home { animation: logo-pop-b 1.8s both; }
  .logo.was-hovered > * { animation-delay: 0s !important; }
}
@keyframes logo-drag {
  0%, 10% { transform: translate(0, 0) scale(1); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  28% { transform: translate(0, var(--dy)) scale(1.35, .6); animation-timing-function: ease-out; }
  36% { transform: translate(0, var(--dy)) scale(.75); animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  76%, 100% { transform: translate(var(--dx), var(--dy)) scale(.75); }
}
@keyframes logo-line {
  0%, 35.9% { stroke-dashoffset: 1; opacity: 0; }
  36% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  76%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes logo-pop {
  0%, 80% { transform: scale(0); }
  90% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@keyframes logo-drag-b {
  0%, 10% { transform: translate(0, 0) scale(1); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  28% { transform: translate(0, var(--dy)) scale(1.35, .6); animation-timing-function: ease-out; }
  36% { transform: translate(0, var(--dy)) scale(.75); animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  76%, 100% { transform: translate(var(--dx), var(--dy)) scale(.75); }
}
@keyframes logo-line-b {
  0%, 35.9% { stroke-dashoffset: 1; opacity: 0; }
  36% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  76%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes logo-pop-b {
  0%, 80% { transform: scale(0); }
  90% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* hero */
.hero { position: relative; isolation: isolate; padding: 48px 16px 56px; display: grid; gap: 48px; max-width: var(--maxw); margin: 0 auto; overflow-x: clip; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -96px 0 0; pointer-events: none; background-image: radial-gradient(circle, rgba(17, 17, 17, .08) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.hero h1 { font-size: clamp(2.6rem, 9.6vw, 5.2rem); margin: 0 0 20px; max-width: 13ch; }
.hero__lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--ink-2); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__wall { position: relative; height: 340px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); }
.wall__col { display: flex; flex-direction: column; gap: 14px; animation: wall-up 46s linear infinite; }
.wall__col--down { animation-name: wall-down; }
.wall__col--c { display: none; animation-duration: 54s; }
.wall__col img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid rgba(17, 17, 17, .08); box-shadow: 0 14px 30px -18px rgba(17, 17, 17, .35); background: #fff; }
.hero__wall:hover .wall__col { animation-play-state: paused; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .wall__col { animation: none; } .wall__col--down { transform: translateY(-18%); } }

/* section heads */
.section-head { display: grid; gap: 16px; margin-bottom: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.kicker span { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.kicker span::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.section-head h2 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.028em; max-width: 25ch; }
.section-head__text p { color: var(--ink-2); font-size: 1.05rem; max-width: 46ch; }

/* works grid */
.works { padding: 56px 16px; max-width: var(--maxw); margin: 0 auto; }
.works__grid { list-style: none; padding: 0; display: grid; gap: 28px; }
.work { display: block; width: 100%; text-align: left; border-radius: calc(var(--radius) + 6px); padding: 10px 10px 18px; background: var(--card); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.work:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(17, 17, 17, .35); border-color: #d2cec4; }
.work__visual { display: block; position: relative; padding: 18px 46px 34px 18px; border-radius: var(--radius); background: #EDEBE6; overflow: hidden; }
.browser { display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(17, 17, 17, .06), 0 16px 32px -20px rgba(17, 17, 17, .45); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #fff; border-bottom: 1px solid #EEE; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #E2DFD8; flex: none; }
.browser__bar span { margin: 0 auto; font-size: .68rem; color: #8A867E; background: #F3F2EF; padding: 1px 12px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mini-phone { position: absolute; right: 12px; bottom: 12px; width: 25%; aspect-ratio: 390 / 844; padding: 4px; background: var(--ink); border-radius: 16px; box-shadow: 0 18px 30px -14px rgba(17, 17, 17, .55); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; }
.work__meta { display: grid; gap: 4px; padding: 16px 8px 0; }
.work__type { font-size: .85rem; font-weight: 500; color: var(--accent); }
.work__name { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tags span { font-size: .82rem; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* how */
.how { padding: 64px 16px; max-width: var(--maxw); margin: 0 auto; }
.how__steps { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.how__steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.how__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.how__steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.how__steps p { color: var(--ink-2); }

/* plans */
.plans { padding: 64px 16px; max-width: var(--maxw); margin: 0 auto; }
.plans__grid { display: grid; gap: 14px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.plan__label { font-weight: 600; color: var(--ink-2); }
.plan__price { font-size: 1.1rem; color: var(--ink-2); margin-top: 8px; }
.plan__price b { font-size: 3.4rem; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-right: 4px; }
.plan__monthly { font-size: 1.1rem; color: var(--ink-2); }
.plan__monthly b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.plan__text { color: var(--ink-2); margin: 10px 0 18px; }
.plan__list { margin: -4px 0 18px; gap: 8px; font-size: .98rem; }
.plan__note { font-size: .85rem; color: var(--ink-2); margin: 0 0 18px; }

.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--featured .plan__label, .plan--featured .plan__price, .plan--featured .plan__monthly, .plan--featured .plan__text { color: #B9B6AF; }
.plan--featured .plan__price b, .plan--featured .plan__monthly b { color: #fff; }
.plan--featured .plan__list { color: #E7E5E0; }
.plan--featured .checks li::before { background-color: #2A2A2A; }
.plan--featured .plan__note { color: #9A978F; }
.plans__includes { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.plans__includes h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.7 2.7L14.5 7' fill='none' stroke='%233B5BFD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.addons { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.addon { color: var(--ink-2); }
.addon span { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; margin-right: 8px; }
.addon b { color: var(--ink); }
.example { grid-column: 1 / -1; display: grid; gap: 22px; padding: 10px 10px 22px; border-radius: calc(var(--radius) + 6px); background: var(--card); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.example:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(17, 17, 17, .35); }
.example__visual { display: block; position: relative; padding: 18px 46px 34px 18px; border-radius: var(--radius); background: #EDEBE6; overflow: hidden; }
.example__text { display: grid; gap: 10px; justify-items: start; padding: 0 12px; }
.example__label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.example__title { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.example__desc { color: var(--ink-2); max-width: 46ch; }
.example__btn { margin-top: 6px; }
.example__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.example--flip:hover { transform: none; box-shadow: none; }

/* faq */
.faq { padding: 64px 16px; max-width: 860px; margin: 0 auto; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%23111' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; border: 1px solid var(--line); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 60ch; }

/* contact */
.contact { margin: 32px 12px 0; padding: 56px 20px; border-radius: 28px; background: var(--ink); color: #fff; }
.contact__intro { text-align: center; }
.contact .kicker { justify-content: center; color: #B9B6AF; }
.contact .kicker span { color: #8EA2FF; }
.contact h2 { font-size: clamp(2rem, 5.6vw, 3.2rem); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; margin: 0 auto; }
.contact__intro > p { color: #B9B6AF; margin: 14px auto 32px; max-width: 40ch; }
.contact__buttons { display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.cbtn { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 22px; border-radius: var(--radius); background: #1E1E1E; border: 1px solid #2E2E2E; transition: background .2s, border-color .2s; }
.cbtn:hover { background: var(--accent); border-color: var(--accent); }
.cbtn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.cbtn span { display: grid; font-weight: 600; font-size: 1.1rem; }
.cbtn small { font-size: .82rem; font-weight: 500; color: #B9B6AF; }
.cbtn:hover small { color: #DCE2FF; }

/* interest form */
.cform { position: relative; display: grid; gap: 16px; max-width: 640px; margin: 28px auto 0; padding: 22px; border-radius: var(--radius); background: #1A1A1A; border: 1px solid #2E2E2E; color-scheme: dark; }
.cform__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; padding: 0; border: 0; }
.field > span, .field legend { padding: 0; font-size: .9rem; font-weight: 500; color: #D6D3CC; }
.field small { font-size: inherit; font-weight: 400; color: #8C8982; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #353535; background: #111; color: #fff; font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E6B65; }
.field input:hover, .field textarea:hover { border-color: #4A4A4A; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 91, 253, .35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: block; padding: 8px 16px; border-radius: 999px; border: 1px solid #3A3A3A; font-size: .95rem; font-weight: 500; color: #D6D3CC; transition: background .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: #6E6B65; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cform__send { width: 100%; padding: 15px 22px; font-size: 1.05rem; }
.cform__send:disabled { opacity: .7; cursor: progress; }
.cform__status { font-size: .92rem; color: #FF9F94; }
.cform__status:empty { display: none; }
.cform__fine { font-size: .82rem; color: #8C8982; text-align: center; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__done { display: none; }
.cform.is-sent > :not(.cform__done) { display: none; }
.cform.is-sent .cform__done { display: grid; justify-items: center; gap: 12px; padding: 40px 8px; text-align: center; }
.cform__done:focus { outline: none; }
.cform__done svg { width: 52px; height: 52px; }
.cform__done h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.cform__done p { max-width: 32ch; color: #B9B6AF; }

/* footer */
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px 16px 36px; color: var(--ink-2); font-size: .95rem; max-width: var(--maxw); margin: 0 auto; }
.foot .brand img { height: 22px; }
.foot { align-items: center; }

/* lightbox */
.lb { width: min(1200px, 100vw - 24px); height: calc(100dvh - 24px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); }
.lb[open] { display: flex; flex-direction: column; }
.lb::backdrop { background: rgba(17, 17, 17, .72); backdrop-filter: blur(4px); }
.lb__head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title actions" "tabs tabs"; gap: 12px; align-items: center; padding: 14px 14px 12px 20px; border-bottom: 1px solid var(--line); background: var(--card); }
.lb__title { grid-area: title; min-width: 0; }
.lb__type { font-size: .82rem; font-weight: 500; color: var(--accent); }
.lb__title h2 { font-size: 1.2rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__tabs { grid-area: tabs; display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.lb__tabs button { padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.lb__tabs [aria-selected="true"] { background: var(--ink); color: #fff; }
.lb__actions { grid-area: actions; display: flex; align-items: center; gap: 8px; }
.lb__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); }
.lb__close svg, .lb__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb__close:hover { border-color: var(--ink); }
.lb__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: #E9E7E1; }
.lb__frame { margin: 0 auto; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -24px rgba(17, 17, 17, .45); min-height: 200px; }
.lb__img { width: 100%; height: auto; transition: opacity .2s; }
.lb.is-loading .lb__img { opacity: 0; }
.lb.is-loading .lb__frame { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='14' fill='none' stroke='%23E2DFD8' stroke-width='4'/%3E%3Cpath d='M20 6a14 14 0 0 1 14 14' fill='none' stroke='%233B5BFD' stroke-width='4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") center 120px / 40px no-repeat; min-height: 60vh; }
.lb[data-view="mobile"] .lb__frame { max-width: 390px; border-radius: 28px; border: 8px solid var(--ink); }
.lb__nav { position: absolute; top: 50%; width: 44px; height: 44px; border-radius: 50%; display: none; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }
.lb__open { white-space: nowrap; }

@media (min-width: 760px) {
  .works__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .how__steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plans__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .plans__includes { grid-column: 1 / -1; padding: 32px; }
  .plans__includes .checks { grid-template-columns: 1fr 1fr; column-gap: 32px; }

  .contact__buttons { grid-template-columns: 1fr 1fr; }
  .cform { padding: 28px; }
  .cform__row { grid-template-columns: 1fr 1fr; }
  .lb__head { grid-template-columns: 1fr auto auto; grid-template-areas: "title tabs actions"; padding: 14px 14px 14px 24px; }
  .lb__body { padding: 28px; }
  .lb__nav { display: grid; }
  .lb__body { padding-left: 76px; padding-right: 76px; }
}

@media (min-width: 1024px) {
  .top { padding: 14px 24px 0; }
  .top__bar { display: grid; grid-template-columns: 1fr auto 1fr; padding: 7px 7px 7px 22px; }
  .top .brand { justify-self: start; margin: 0; }
  .top__toggle, .top__nav .top__menu-cta { display: none; }
  .top__cta { display: inline-flex !important; justify-self: end; }
  .top__nav { position: static; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: #F1EFEA; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .top__nav a { padding: 8px 18px; border-radius: 999px; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
  .top__nav a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
  .top__nav a.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17, 17, 17, .12); }
  .hero { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 88px 32px 96px; }
  .hero__wall { height: 560px; gap: 18px; }
  .wall__col { gap: 18px; }
  @keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
  @keyframes wall-down { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }
  .works, .how, .plans { padding: 88px 32px; }
  .section-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 56px; margin-bottom: 52px; padding-top: 34px; }
  .section-head__text { padding-bottom: 6px; }
  .faq .section-head { grid-template-columns: 1fr; }
  .faq { padding: 88px 32px; }
  .contact { margin: 48px auto 0; max-width: var(--maxw); padding: 88px 48px; border-radius: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
  .contact__intro { text-align: left; }
  .contact .kicker { justify-content: flex-start; }
  .contact h2 { margin: 0; }
  .contact__intro > p { margin: 16px 0 36px; }
  .contact__buttons { grid-template-columns: 1fr; max-width: 420px; margin: 0; }
  .cform { margin: 0; max-width: none; padding: 32px; }
  .foot { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Wide screens: wider content, hero wall runs to the right edge */
@media (min-width: 1280px) {
  .hero { max-width: none; margin: 0; padding: 88px 0 96px calc((100% - var(--maxw)) / 2 + 32px); grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 72px; }
  .hero__wall { height: 600px; margin-right: -72px; }
}
@media (min-width: 1600px) {
  :root { --maxw: 1400px; }
  .hero { grid-template-columns: minmax(0, 660px) minmax(0, 1fr); }
  .hero h1 { font-size: 5.8rem; }
  .hero__wall { height: 640px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall__col--c { display: flex; }
}
@media (min-width: 1024px) {
  .plan { padding: 32px 30px; }
  .plans__includes .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .example { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 10px 48px 10px 10px; }
  .example__text { padding: 0; }
  .example--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); padding: 10px 10px 10px 48px; }
  .example--flip .example__visual { order: 2; }
}
