/* Prompt Time – munkaidonyilvantarto.hu landing page.
   Built from the "Landing Page" design (Prompt Time redesign project). */

html,body{margin:0;padding:0}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
button,input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
a{color:var(--accent-text);text-decoration:none}a:hover{text-decoration:underline}

/* Theme tokens: light is the base, dark applies when chosen explicitly or via the system setting */
:root,[data-theme="light"]{--bg:#f3f5f6;--surface:#ffffff;--surface-2:#eaeef0;--surface-3:#dfe4e7;--border:#e1e6e9;--border-2:#cdd4d9;--text:#14171b;--text-2:#5b656e;--text-3:#8d969e;--accent:#12e0b6;--accent-hover:#0fcda6;--accent-ink:#06302a;--accent-text:#079f81;--accent-soft:rgba(18,224,182,.14);--danger:#c8372d;--shadow:0 1px 2px rgba(20,23,27,.04),0 8px 24px rgba(20,23,27,.06);--shadow-lg:0 24px 60px rgba(20,23,27,.16);color-scheme:light}
[data-theme="dark"]{--bg:#0d0f12;--surface:#15181c;--surface-2:#1c2026;--surface-3:#252a31;--border:#262b32;--border-2:#343b43;--text:#eef1f3;--text-2:#9aa4ad;--text-3:#697380;--accent:#12e0b6;--accent-hover:#3ee9c6;--accent-ink:#06302a;--accent-text:#2fe6c0;--accent-soft:rgba(18,224,182,.16);--danger:#ff7b72;--shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);--shadow-lg:0 24px 60px rgba(0,0,0,.6);color-scheme:dark}
@keyframes pt-pulse{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dot{animation:none!important}}

body{min-height:100%;background:var(--bg);color:var(--text);font-family:Manrope,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.page{display:flex;flex-direction:column;min-height:100vh;container-type:inline-size}
.wrap{max-width:1120px;width:100%;margin:0 auto}
.font-display{font-family:Montserrat,sans-serif}
[hidden]{display:none!important}

/* Theme-specific images: both variants are in the markup, CSS shows the matching one */
[data-theme="dark"] .only-light,[data-theme="light"] .only-dark{display:none!important}

/* Header */
.site-header{position:sticky;top:0;z-index:10;background:color-mix(in srgb,var(--bg) 85%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.head-row{max-width:1120px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:16px}
.brand{display:flex;flex:none}
.brand img{display:block}
.brand .wordmark{height:26px}
.brand .mark{height:28px;display:none!important}
.nav{display:flex;gap:4px;margin-left:auto;align-items:center}
.nav a{padding:8px 12px;border-radius:10px;color:var(--text-2);font-weight:600;font-size:14px}
.nav a:hover{background:var(--surface-2);color:var(--text);text-decoration:none}
.theme-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}
.theme-switch button{width:30px;height:30px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;background:none;color:var(--text-3)}
.theme-switch button[aria-pressed="true"]{background:var(--surface-2);color:var(--text)}

/* Shared bits */
.pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:700;background:var(--accent-soft);color:var(--accent-text)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:pt-pulse 2s ease-in-out infinite;flex:none}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text)}
.sec-head{display:flex;flex-direction:column;gap:8px;max-width:640px}
.sec-head h2,.h2{font-family:Montserrat,sans-serif;font-size:clamp(28px,3.5cqw,36px);font-weight:700;margin:0;letter-spacing:-.02em;line-height:1.15}
.sec-head p{margin:4px 0 0;color:var(--text-2);font-size:17px;text-wrap:pretty}
.band{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.icon-tile{width:40px;height:40px;border-radius:12px;background:var(--accent-soft);color:var(--accent-text);display:flex;align-items:center;justify-content:center}
.card{background:var(--bg);border:1px solid var(--border);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px}
.card b{font-family:Montserrat,sans-serif;font-size:17px;font-weight:700}
.card .txt{color:var(--text-2);font-size:15px;text-wrap:pretty}
svg{display:block}

/* Hero */
.hero{padding:72px 24px 56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:24px;min-width:0}
.hero-copy .pill{align-self:flex-start}
.hero h1{font-family:Montserrat,sans-serif;font-size:clamp(36px,5cqw,56px);font-weight:800;margin:0;letter-spacing:-.025em;line-height:1.05;text-wrap:balance}
.lede{margin:0;color:var(--text-2);font-size:18px;max-width:540px;text-wrap:pretty}

/* Subscribe forms */
.sub-form{display:flex;flex-direction:column;gap:10px;max-width:520px;scroll-margin-top:96px}
.sub-form label{font-size:13px;font-weight:600;color:var(--text-2)}
.sub-row{display:flex;gap:10px;flex-wrap:wrap}
.sub-row input[type="email"]{flex:1;min-width:220px;height:50px;border:1px solid var(--border-2);border-radius:12px;background:var(--surface);padding:0 16px;font-size:16px;outline:none;text-align:left}
.sub-row input[type="email"]:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.btn{height:50px;padding:0 22px;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:15px;border:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--accent-hover)}
.btn[disabled]{opacity:.7;cursor:progress}
.sub-done{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow)}
.sub-done .ok{color:var(--accent-text);display:flex}
.sub-done strong{font-weight:700;font-size:15px}
.sub-done small{font-size:13px;color:var(--text-2)}
.sub-done .lines{display:flex;flex-direction:column;text-align:left}
.sub-note{font-size:13px;color:var(--text-3)}
.sub-note a{color:var(--text-2);text-decoration:underline}
.sub-error{font-size:13px;font-weight:600;color:var(--danger)}
/* Honeypot field: off-screen for people, still filled in by naive bots */
.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Hero status card */
.status-col{display:flex;flex-direction:column;gap:12px;min-width:0;max-width:460px;width:100%;justify-self:center}
.status-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:18px;box-shadow:var(--shadow-lg)}
.status-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.status-top>span:first-child{font-size:13px;font-weight:600;color:var(--text-2)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--accent-soft);color:var(--accent-text)}
.badge .dot{width:7px;height:7px}
.elapsed{display:flex;flex-direction:column;gap:2px}
.elapsed .big{font-family:Montserrat,sans-serif;font-size:44px;font-weight:700;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums}
.elapsed small{color:var(--text-3);font-size:13px}
.times{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.times>div{background:var(--surface-2);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.times small{font-size:12px;color:var(--text-3)}
.times b{font-weight:600;font-variant-numeric:tabular-nums}
.toggle-row{display:flex;align-items:center;gap:16px}
.toggle{width:72px;height:40px;border-radius:20px;position:relative;display:inline-block;background:var(--accent);flex:none}
.toggle span{position:absolute;top:4px;left:36px;width:32px;height:32px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;color:var(--accent-ink)}
.toggle-row .lines{display:flex;flex-direction:column;gap:2px}
.toggle-row strong{font-weight:700;font-size:15px}
.toggle-row small{font-size:13px;color:var(--text-3)}
.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.mini{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}
.mini .ic{color:var(--accent-text);display:flex}
.mini .lines{display:flex;flex-direction:column}
.mini strong{font-weight:600;font-size:14px}
.mini small{font-size:12px;color:var(--text-3)}

/* App preview */
.preview{padding:16px 24px 72px;display:flex;flex-direction:column;gap:36px;scroll-margin-top:72px}
.stores{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.store{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 16px 0 12px;border-radius:12px;background:var(--text);color:var(--bg)}
.store .lines{display:flex;flex-direction:column;line-height:1.1}
.store small{font-size:10px;font-weight:600;opacity:.75}
.store strong{font-family:Montserrat,sans-serif;font-size:16px;font-weight:700}
/* Desktop mock fills the width minus 120px; the phone is 60% of its scale (390/1280·0.6) pinned bottom-right */
.mock{position:relative;padding-bottom:40px}
.mock img{display:block;height:auto;max-width:100%}
.mock .desk{width:calc(100% - 120px);aspect-ratio:1904/1192}
.mock .phone{position:absolute;right:0;bottom:0;width:calc((100% - 120px) * .1828);aspect-ratio:780/1690}
.mock .desk img,.mock .phone img{width:100%}

/* Features */
.features{padding:72px 24px;display:flex;flex-direction:column;gap:36px;scroll-margin-top:72px}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}

/* Editions */
.editions{padding:72px 24px;display:flex;flex-direction:column;gap:36px;scroll-margin-top:72px}
.edition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.edition{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:20px;min-width:0}
.edition.featured{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.edition .head{display:flex;flex-direction:column;gap:6px}
.edition .where{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--surface-2);color:var(--text-2)}
.edition .where.cloud{background:var(--accent-soft);color:var(--accent-text)}
.edition .name{font-family:Montserrat,sans-serif;font-size:24px;font-weight:700;letter-spacing:-.01em}
.edition .tagline{color:var(--text-2);font-size:14px}
.edition ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;flex:1}
.edition li{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--text)}
.edition li svg{color:var(--accent-text);flex:none;margin-top:3px}
.edition .foot{padding-top:16px;border-top:1px solid var(--border);font-size:13px;color:var(--text-3)}

/* Deployment */
.deploy{padding:72px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.deploy .intro{display:flex;flex-direction:column;gap:8px;padding:8px 0}
.deploy .intro p{margin:4px 0 0;color:var(--text-2);font-size:16px;text-wrap:pretty}
.deploy .txt b{color:var(--text);font-family:inherit;font-size:inherit}

/* Closing CTA */
.closing{padding:80px 24px 96px;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.closing h2{font-family:Montserrat,sans-serif;font-size:clamp(28px,4cqw,44px);font-weight:800;margin:0;letter-spacing:-.025em;line-height:1.1;max-width:720px;text-wrap:balance}
.closing .sub-form{width:100%}
.closing .sub-done{justify-content:center}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:var(--surface)}
.site-footer .wrap{padding:24px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--text-3)}
.site-footer img{height:24px;display:block}
.site-footer a{color:var(--text-2);font-weight:600}
.site-footer .domain{margin-left:auto}

/* Legal pages (privacy): landing header/footer around a document card with a section index */
.legal{padding:56px 24px 96px;display:flex;flex-direction:column;gap:40px;flex:1}
.legal-head{display:flex;flex-direction:column;gap:12px;max-width:760px}
.legal-back{align-self:flex-start;font-size:14px;font-weight:600;color:var(--text-2);margin-bottom:12px}
.legal-head h1{font-family:Montserrat,sans-serif;font-size:clamp(32px,4.5cqw,48px);font-weight:800;margin:0;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
.legal-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px;color:var(--text-2);margin-top:8px}
.legal-body{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start}
.legal-toc{position:sticky;top:96px;display:flex;flex-direction:column;gap:12px}
.legal-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;counter-reset:toc}
.legal-toc li{counter-increment:toc}
.legal-toc a{display:flex;gap:10px;padding:8px 12px;border-radius:10px;color:var(--text-2);font-weight:600;font-size:14px;line-height:1.35}
.legal-toc a::before{content:counter(toc,decimal-leading-zero);color:var(--text-3);font-variant-numeric:tabular-nums}
.legal-toc a:hover{background:var(--surface-2);color:var(--text);text-decoration:none}
.legal-doc{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:8px 40px;box-shadow:var(--shadow);max-width:760px}
.legal-doc section{padding:32px 0;border-top:1px solid var(--border);scroll-margin-top:96px}
.legal-doc section:first-child{border-top:none}
.legal-doc h2{font-family:Montserrat,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.25;margin:0 0 12px}
.legal-doc p{margin:0 0 12px;color:var(--text-2);font-size:16px;line-height:1.7;text-wrap:pretty}
.legal-doc p:last-child{margin-bottom:0}
.legal-doc a{text-decoration:underline;text-underline-offset:2px}
.site-footer a[aria-current="page"]{color:var(--text)}
@media (max-width:899px){
  .legal-body{grid-template-columns:minmax(0,1fr)}
  .legal-toc{position:static;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:20px}
}
@media (max-width:639px){
  .legal{padding:32px 16px 64px}
  .legal-doc{padding:4px 20px}
  .legal-doc section{padding:24px 0}
}

/* Narrow layout (design switches below 640px) */
@media (max-width:639px){
  .head-row{padding:12px 16px;gap:10px}
  .brand .wordmark{display:none!important}
  .brand .mark{display:block!important}
  [data-theme="dark"] .brand .mark.only-light,[data-theme="light"] .brand .mark.only-dark{display:none!important}
  .nav{display:none}
  .theme-switch{margin-left:auto} /* no nav on narrow screens: keep the switch on the right */
}
/* Stacked app preview (design stacks when the content width drops below 720px) */
@media (max-width:767px){
  .mock{display:flex;flex-direction:column;align-items:center;gap:32px;padding-bottom:0}
  .mock .desk{width:100%}
  .mock .phone{position:static;width:min(390px,72%)}
}
