/* AI CV Maker — cvaimaker.com */
:root {
  --desk: #eef1f6;
  --paper: #ffffff;
  --ink: #141a2e;
  --ink-soft: #4a5170;
  --violet: #5b3df5;
  --violet-deep: #4527d6;
  --mint: #1fb67a;
  --mint-ink: #0b7a50;
  --mark: #ffe45c;
  --rule: #d9dee9;
  --night: #120f2e;
  --radius-sheet: 6px;
  --radius-window: 22px;
  --measure: 34rem;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: var(--desk);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

/* ---------- header ---------- */
.top { padding: 1.1rem 0; }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .95rem; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.lang { font-weight: 600; }
@media (max-width: 760px) { .nav a:not(.lang) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.3rem; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  background: var(--ink); color: #fff;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--violet-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-weight: 500; font-size: .72rem; opacity: .8; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }
.soon { color: var(--ink-soft); font-size: .95rem; }

/* ---------- hero ---------- */
.hero { padding: 3.5rem 0 5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .98; letter-spacing: -.035em; font-weight: 800;
  margin: 0 0 1.4rem; max-width: 11ch;
}
.hero .lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); max-width: var(--measure); margin: 0 0 2rem; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: .45rem; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; } .hero h1 { max-width: 13ch; } }

/* the voice-to-CV sheet: the one animated moment */
.demo { position: relative; }
.bubble {
  position: relative; z-index: 2;
  margin: 0 0 -1.1rem 1.4rem; max-width: 22rem;
  background: var(--violet); color: #fff;
  padding: .9rem 1.1rem; border-radius: 16px 16px 16px 4px;
  font-size: .98rem; line-height: 1.45;
  box-shadow: 0 10px 30px -12px rgba(69, 39, 214, .6);
}
.bubble .who { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; opacity: .85; margin-bottom: .3rem; }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.wave i { width: 3px; border-radius: 2px; background: #fff; height: 40%; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; } .wave i:nth-child(3) { animation-delay: .3s; } .wave i:nth-child(4) { animation-delay: .45s; }
@keyframes wave { 50% { height: 100%; } }

.sheet {
  background: var(--paper); border-radius: var(--radius-sheet);
  padding: 2.4rem 2rem 1.8rem;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -30px rgba(20, 26, 46, .35);
  font-size: .9rem; line-height: 1.5;
}
.sheet h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0; }
.sheet .role { color: var(--ink-soft); margin: .1rem 0 1rem; }
.sheet h3 { font-size: .78rem; font-weight: 700; color: var(--violet-deep); margin: 1rem 0 .35rem; letter-spacing: .02em; }
.sheet p { margin: 0; }
.sheet ul { margin: .2rem 0 0; padding-left: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; padding-bottom: .4rem; }
.chips span { border: 1px solid var(--rule); border-radius: 6px; padding: .25rem .6rem; font-size: .82rem; }
mark {
  color: inherit; padding: .05em .22em; border-radius: 3px;
  background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 60% / 100% 70%;
}
.ats {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1.3rem; padding-top: .9rem; border-top: 1px dashed var(--rule);
  font-size: .82rem; color: var(--ink-soft);
}
.ats b { color: var(--mint-ink); }

@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: rise .5s .1s both ease-out; }
  .sheet .line { animation: write .45s both ease-out; }
  .sheet .l1 { animation-delay: .7s; }
  .sheet .l2 { animation-delay: 1.0s; } .sheet .l3 { animation-delay: 1.3s; }
  .sheet .l4 { animation-delay: 1.6s; } .sheet .l5 { animation-delay: 1.9s; }
  .sheet mark { animation: highlight .5s both ease-out; animation-delay: 2.3s; }
  .ats { animation: rise .4s 2.7s both ease-out; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes write { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes highlight { from { background-size: 0% 70%; } }

/* ---------- sections ---------- */
section { padding: 5rem 0; }
.paper { background: var(--paper); }
h2.title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 1rem; max-width: 20ch; }
.intro { color: var(--ink-soft); font-size: 1.12rem; max-width: var(--measure); margin: 0 0 2.8rem; }

/* steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: .8rem; color: var(--violet); }
.steps h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 1.8rem; } }

/* before / after */
.rewrite { display: grid; grid-template-columns: 1fr 22rem; gap: 4rem; align-items: center; }
.pair { display: grid; gap: 1rem; max-width: 32rem; }
.pair div { padding: 1.1rem 1.3rem; border-radius: 10px; }
.pair .before { border: 2px dashed var(--rule); color: var(--ink-soft); }
.pair .before q { text-decoration: line-through; text-decoration-color: rgba(74, 81, 112, .55); quotes: none; }
.pair .after { background: var(--paper); border: 2px solid var(--mint); font-weight: 600; font-size: 1.1rem; }
.pair .tag { display: block; font-size: .8rem; font-weight: 600; text-decoration: none; margin-bottom: .2rem; }
.pair .before .tag { color: var(--ink-soft); }
.pair .after .tag { color: var(--mint-ink); }
.window { border-radius: var(--radius-window); overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -28px rgba(18, 15, 46, .55); }
@media (max-width: 860px) { .rewrite { grid-template-columns: 1fr; gap: 2.5rem; } .rewrite .window { max-width: 22rem; } }

/* gallery strip */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 17rem);
  gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem 1.25rem 1.5rem; margin: 0 -1.25rem;
  scrollbar-width: thin;
}
.strip figure { margin: 0; scroll-snap-align: start; }
.strip .window img { width: 100%; aspect-ratio: 720 / 1180; object-fit: cover; object-position: bottom; }
.strip figcaption { margin-top: .8rem; font-weight: 600; }
.strip figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }

/* features: plain two-column list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 4rem; max-width: 60rem; }
.features h3 { font-size: 1.12rem; margin: 0 0 .3rem; display: flex; align-items: center; gap: .55rem; }
.features h3::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--mint); flex: none; }
.features p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-width: 52rem; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--ink); }
.plan { padding: 2rem; background: var(--paper); }
.plan + .plan { background: var(--ink); color: #fff; }
.plan h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: .3rem 0 1rem; }
.price small { font-size: 1rem; font-weight: 500; opacity: .75; }
.plan ul { margin: 0; padding-left: 1.1rem; }
.plan + .plan a { color: #fff; }
.fine { color: var(--ink-soft); font-size: .9rem; max-width: 52rem; margin: 1rem 0 0; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq > * { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--violet); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--ink-soft); max-width: var(--measure); }

/* closing call */
.closing { background: var(--night); color: #fff; text-align: left; }
.closing h2.title { color: #fff; }
.closing .intro { color: #c9c6ea; }
.closing .btn { background: #fff; color: var(--ink); }
.closing .btn:hover { background: var(--mark); }

/* footer */
footer { padding: 2.5rem 0 3rem; font-size: .92rem; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
footer a { color: var(--ink-soft); }

/* inner pages: support, privacy, terms */
.page-head { padding: 3rem 0 3.5rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 1rem; max-width: 16ch; }
.legal { max-width: 46rem; padding: 2rem 0 4rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .5rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .5rem; }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { margin: 0 0 2rem; }
.legal hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0 2rem; }
