/* ResumeWay website. Colours follow the app (lib/theme/colors.dart): burgundy silk and
   ivory. Deep wine for headings and what matters most, cream-and-champagne satin with
   burgundy text for highlights, warm greys for text, and soft pastels (pink, peach,
   lavender, sky, mint) to tell cards apart. Headings are Playfair Display. */

@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url('fonts/PlusJakartaSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('fonts/PlusJakartaSans-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('fonts/PlusJakartaSans-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('fonts/JetBrainsMono-Medium.ttf') format('truetype'); }
/* Playfair Display (OFL: fonts/PlayfairDisplay-OFL.txt), Latin, from this site. */
@font-face { font-family: 'Playfair Display'; font-weight: 600; font-display: swap; src: url('fonts/playfair-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-display: swap; src: url('fonts/playfair-700.woff2') format('woff2'); }

:root {
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ink: #4A0D18;          /* deep burgundy: headings, text on satin */
  --pearl: #FFF7EF;        /* cream: text on burgundy */
  --on-grad: var(--pearl); /* text on --grad */
  --satin: linear-gradient(135deg, #FFFDFA 0%, #F5E9DF 40%, #FBF4EE 62%, #E7D2C3 100%);
  --gold: #D9B27C;
  --focus: #6E1C31;
  --heading: #4A0D18;
  --text: #2E2725;
  --muted: #5B514E;
  --faint: #766B67;
  --bg: #FAF3EE;
  --bg-tint: #F6EAE4;
  --surface: #FFFFFF;
  --surface-2: #FBF6F2;
  --border: #EFE2DA;
  --brand-50: #FBF2F2;
  --brand-100: #F6E3E5;
  --brand-200: #EDC8CD;
  --brand-link: #6E1C31;   /* wine: 10:1 on white */
  --brand-strong: #561325;
  --ok: #1E7A45;
  --ok-bg: #E9F7EE;
  --warn: #92400E;
  --warn-bg: #FFFBEB;
  --warn-border: #FDE68A;
  --grad: linear-gradient(135deg, #8A1C2E 0%, #5C0D1B 50%, #2A050B 100%);  /* burgundy silk */
  --wash: linear-gradient(160deg, #FFFCF9 0%, #FBF3EE 55%, #F7E6E1 100%);
  --shadow: 0 1px 2px rgba(59, 10, 23, .05), 0 12px 32px rgba(154, 75, 62, .08);
  --shadow-lg: 0 24px 60px rgba(42, 5, 11, .22);
  --radius: 20px;
  --max: 1120px;
  --gutter: 16px;
  /* Pastels: a card's wash (light → deep), its wave, and its icon's colour. */
  --pink-1: #FFF8F9; --pink-2: #FBE6EA; --pink-w: #F2C7D0; --pink-i: #7A1428;
  --peach-1: #FFFBF6; --peach-2: #FDEEDD; --peach-w: #F7D2AC; --peach-i: #9A3412;
  --lav-1: #FBF8FF; --lav-2: #EEE6FB; --lav-w: #D3C1F1; --lav-i: #5B2E9E;
  --sky-1: #F7FBFF; --sky-2: #E4F0FB; --sky-w: #BCD8F2; --sky-i: #1D4E89;
  --mint-1: #F7FCF9; --mint-2: #E5F5EB; --mint-w: #BDE4CD; --mint-i: #1E7A45;
  color-scheme: light;
}

/* Wine: the burgundy-silk sections (the home page's hero and "A look inside"). The site
   doesn't follow the device's dark mode: like the app, it is ivory with wine in places,
   the same for everyone. Inside .wine every colour turns to its wine version. */
.wine {
  --heading: #F6E3E5;
  --text: #EFE4E1;
  --muted: #CDB9B5;
  --faint: #A8948F;
  --bg: #140608;
  --bg-tint: #1B090C;
  --surface: #211013;
  --surface-2: #1A0B0E;
  --border: #3A1C21;
  --brand-50: #2A1116;
  --brand-100: #34161C;
  --brand-200: #4A222A;
  --brand-link: #F2B8C2;
  --brand-strong: #F6D5DA;
  --ok: #86EFAC;
  --ok-bg: #0C2A1A;
  --warn: #FCD34D;
  --warn-bg: #2A2110;
  --warn-border: #5B4513;
  --focus: #F2B8C2;
  --wash: radial-gradient(120% 90% at 50% 0%, #2B0B11 0%, #140608 60%, #170709 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .5);
  /* Pastels turn to deep tints at night. */
  --pink-1: #261116; --pink-2: #2E1219; --pink-w: #4A1C27; --pink-i: #F2B8C2;
  --peach-1: #26160F; --peach-2: #2E1A10; --peach-w: #4D2C18; --peach-i: #F8C9A0;
  --lav-1: #1C1426; --lav-2: #22172F; --lav-w: #3A2856; --lav-i: #D3C1F1;
  --sky-1: #111A25; --sky-2: #13202F; --sky-w: #203A56; --sky-i: #BCD8F2;
  --mint-1: #0F1D16; --mint-2: #12241A; --mint-w: #1E4631; --mint-i: #BDE4CD;
  color-scheme: dark;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .86em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--heading); background: var(--surface-2); }
body[data-page="home"] .nav a[data-nav="home"],
body[data-page="how"] .nav a[data-nav="how"],
body[data-page="features"] .nav a[data-nav="features"],
body[data-page="why"] .nav a[data-nav="why"],
body[data-page="faq"] .nav a[data-nav="faq"],
body[data-page="pricing"] .nav a[data-nav="pricing"],
body[data-page="download"] .nav a[data-nav="download"],
body[data-page="extension"] .nav a[data-nav="extension"] { color: var(--brand-link); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-grad); background: var(--grad); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; color: var(--heading); font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch;
         padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: none; }
.btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px rgba(42, 5, 11, .28); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 28px rgba(42, 5, 11, .36); }
.btn-outline { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-outline:hover { border-color: var(--brand-200); }
.btn-small { padding: 8px 14px; font-size: .9rem; border-radius: 999px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* -------------------------------------------------------------------- hero */
.hero { background: var(--wash); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero h1 .accent { display: block; color: var(--brand-link); }
.pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--satin); color: var(--ink); box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 14px rgba(154, 75, 62, .18); font-family: var(--serif); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.fine { color: var(--faint); font-size: .9rem; }
.hero-art { position: relative; min-height: 420px; isolation: isolate; }
/* Burgundy silk behind the screenshots, with a fine gold edge, like the app's hero card. */
.hero-art::before { content: ''; position: absolute; z-index: -1; inset: -28px -40px 18% 12%; border-radius: 28px;
  background: url('silk.svg') right center / cover no-repeat, var(--grad); border: 1px solid rgba(217, 178, 124, .55); box-shadow: var(--shadow-lg); }
.hero-art .desktop { border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); width: 100%; }
/* The side panel beside a posting: one picture, no phone over it. */
.panel-art { min-height: 0; }
.hero-art .phone {
  position: absolute; right: -8px; bottom: -28px; width: 38%; min-width: 150px;
  border-radius: 26px; border: 6px solid #2A050B; box-shadow: var(--shadow-lg); background: #2A050B;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero-art { min-height: 0; margin-right: 12px; }
  .hero-art { margin-top: 8px; }
  .hero-art .phone { right: -12px; bottom: -20px; width: 24%; min-width: 0; border-width: 4px; border-radius: 18px; }
}

/* Moving silk (silk.js): a WebGL canvas under the content of a [data-silk] block (the
   hero and the closing band). The block's own background shows until the first frame,
   and wherever WebGL isn't available. */
[data-silk] { position: relative; isolation: isolate; }
.silk-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.silk-canvas.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .silk-canvas { transition: none; } }
/* Where wine meets ivory the wine itself ends in a soft curve (a mask), so the ivory silk
   behind the page runs on under it with no seam, and a gold thread follows the edge: the
   page reads as one length of silk rather than stacked blocks. */
.wine { --hem: 64px; }
.hero.wine, .section.wine, .page-head.wine { border-top: 0; border-bottom: 0; }
.wine + .section { border-top: 0; }
.hero.wine, .page-head.wine {
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--hem) + 1px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0V36C240 12 480 8 720 26 S1200 58 1440 30V0Z'/%3E%3C/svg%3E") bottom / 100% var(--hem) no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--hem) + 1px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0V36C240 12 480 8 720 26 S1200 58 1440 30V0Z'/%3E%3C/svg%3E") bottom / 100% var(--hem) no-repeat; }
.look {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V28C240 52 480 56 720 38 S1200 6 1440 34V64Z'/%3E%3C/svg%3E") top / 100% var(--hem) no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--hem) + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0V36C240 12 480 8 720 26 S1200 58 1440 30V0Z'/%3E%3C/svg%3E") bottom / 100% var(--hem) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V28C240 52 480 56 720 38 S1200 6 1440 34V64Z'/%3E%3C/svg%3E") top / 100% var(--hem) no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--hem) + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0V36C240 12 480 8 720 26 S1200 58 1440 30V0Z'/%3E%3C/svg%3E") bottom / 100% var(--hem) no-repeat; }
.hero.wine::after, .page-head.wine::after, .look::before, .look::after { content: ''; position: absolute; left: 0; right: 0; height: var(--hem); z-index: 1; pointer-events: none; background: no-repeat center / 100% 100%; }
.hero.wine::after, .page-head.wine::after, .look::after { bottom: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 36C240 12 480 8 720 26 S1200 58 1440 30' fill='none' stroke='%23D9B27C' stroke-opacity='.9' stroke-width='3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.look::before { top: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 28C240 52 480 56 720 38 S1200 6 1440 34' fill='none' stroke='%23D9B27C' stroke-opacity='.9' stroke-width='3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
/* Room under the head's words for its curved edge; its accent line takes a line of its own. */
.page-head.wine { padding-bottom: 104px; }
.page-head h1 .accent { display: block; color: var(--brand-link); }
@media (max-width: 700px) { .wine { --hem: 36px; } }
/* The hero's small print sits on moving silk: one step darker than --faint keeps it 4.5:1. */
.hero[data-silk] .fine { color: var(--muted); }
/* Ivory silk (silk.js, data-silk="ivory") fixed behind the whole home page: the page scrolls
   over one continuous length of it, and the ivory sections let it show through. */
.page-silk { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; }
/* Over the silk, tinted sections go clear too, so it runs on without a seam. */
body:has(.page-silk) .section.tint:not(.wine) { background: transparent; border-color: transparent; }

/* The hero's morphing line (morph.js): two copies stacked, dissolving into each other
   through an SVG threshold filter while they change. */
.morph-box { display: block; position: relative; height: 1.15em; }
.morph-box.morphing { filter: url(#rw-morph) blur(.6px); }
.morph-box > span { position: absolute; left: 0; right: 0; top: 0; white-space: nowrap; }
.morph-defs { position: absolute; width: 0; height: 0; }
/* The longest phrase is about 310 px at the phone size: smaller phones get a smaller line. */
@media (max-width: 359px) { .morph-box { font-size: .86em; } }
/* The pricing head's phrases are longer: on phones its line follows the screen's width. */
.page-head .morph-box { font-size: min(1em, 7.2vw); }

/* Cards rising into view (site.js). */
.rise { opacity: 0; transform: translateY(36px); }
.rising { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }

/* ---------------------------------------------------------------- sections */
.section { padding: 80px 0; }
.section.tint { background: var(--bg-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 10px; display: block; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
/* Feature and step cards: pastel washes with soft waves at the foot, in turn. */
.grid > .card:not(.platform) { --c1: var(--pink-1); --c2: var(--pink-2); --cw: var(--pink-w); --ci: var(--pink-i);
  background: linear-gradient(135deg, var(--c1), var(--c2)); border-color: color-mix(in srgb, var(--cw) 55%, transparent); }
.grid > .card:not(.platform):nth-child(5n+2) { --c1: var(--peach-1); --c2: var(--peach-2); --cw: var(--peach-w); --ci: var(--peach-i); }
.grid > .card:not(.platform):nth-child(5n+3) { --c1: var(--lav-1); --c2: var(--lav-2); --cw: var(--lav-w); --ci: var(--lav-i); }
.grid > .card:not(.platform):nth-child(5n+4) { --c1: var(--sky-1); --c2: var(--sky-2); --cw: var(--sky-w); --ci: var(--sky-i); }
.grid > .card:not(.platform):nth-child(5n+5) { --c1: var(--mint-1); --c2: var(--mint-2); --cw: var(--mint-w); --ci: var(--mint-i); }
.grid > .card:not(.platform)::after { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: 46%; pointer-events: none; z-index: 0;
  background: var(--cw); opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50C30 20 60 58 100 8V50Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50C30 20 60 58 100 8V50Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.grid > .card:not(.platform) > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card p + p { margin-top: .7em; }
.icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface), var(--c2, var(--brand-50))); border: 1px solid color-mix(in srgb, var(--cw, var(--brand-100)) 70%, transparent); color: var(--ci, var(--brand-strong)); margin-bottom: 16px; box-shadow: 0 4px 12px color-mix(in srgb, var(--cw, var(--brand-100)) 60%, transparent); }
.icon svg { width: 22px; height: 22px; }

.step { position: relative; }
/* Home: one line per step, and a way on to the page that has the rest. */
@media (max-width: 640px) {
  .steps-short { gap: 12px; }
  .steps-short .step { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 18px 20px; }
  .steps-short .step .n { grid-row: span 2; margin: 0; }
  .steps-short .step h3 { margin: 0 0 2px; align-self: end; }
}
.more-link { margin: 28px 0 0; text-align: center; font-weight: 700; }
.more-link a, .link-card .go { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-link); text-decoration: none; }
.more-link svg, .link-card .go svg { width: 18px; height: 18px; transition: transform .2s; }
.more-link a:hover svg, .link-card:hover .go svg { transform: translateX(3px); }
.link-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.link-card:not(.rising) { transition: transform .2s, box-shadow .2s; } /* the slide-in has its own while it runs */
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.link-card:focus-visible { outline: 3px solid var(--brand-link); outline-offset: 3px; }
.link-card p { flex: 1; }
.link-card .go { margin-top: 18px; font-weight: 700; font-size: .95rem; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9E2236, #5C0D1B 60%, #2A050B); color: var(--pearl); font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; font-family: var(--serif); font-size: 1.15rem; box-shadow: 0 6px 14px rgba(42, 5, 11, .3); }

/* where it works */
.platform { display: flex; flex-direction: column; }
.platform .tag { align-self: flex-start; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-link); border: 1px solid var(--brand-100); margin-bottom: 12px; }
.platform ul { margin: 12px 0 18px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.platform li { padding-left: 26px; position: relative; margin: 7px 0; }
.platform li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px var(--brand-50); }
.platform li.no::before { background: var(--border); }
.platform .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 26px; border: 6px solid #2A050B; box-shadow: var(--shadow-lg); background: #2A050B; }
.shots figcaption { color: var(--muted); font-size: .95rem; margin-top: 12px; text-align: center; font-family: var(--serif); font-weight: 600; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The side panel's own shots: a panel, not a phone. */
.shots .panel-shot img, .panel-shots img { border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.panel-shots { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; margin-bottom: 32px; }
@media (max-width: 900px) { .panel-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* promises */
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise .check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin-top: 2px; }
.promise .check svg { width: 16px; height: 16px; }
.promise h3 { font-size: 1.02rem; margin-bottom: 4px; }
.promise p { color: var(--muted); margin: 0; font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--heading); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; color: var(--brand-strong); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p, .faq details ul { color: var(--muted); margin: 0 0 16px; }

/* CTA band */
.band { background: url('silk.svg') right center / cover no-repeat, var(--grad); color: var(--on-grad); border-radius: 28px; overflow: hidden; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(217, 178, 124, .55); box-shadow: var(--shadow-lg); }
.band h2 { color: var(--on-grad); margin: 0 0 6px; }
.band p { margin: 0; color: var(--on-grad); opacity: .82; }
.band .btn-dark { background: var(--satin); color: var(--ink); font-family: var(--serif); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.band .btn-light { background: transparent; color: var(--on-grad); border-color: currentColor; }
@media (max-width: 640px) { .band { padding: 28px; } }

/* ---------------------------------------------------------------- pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 32px; }
.billing-toggle button { font: inherit; font-weight: 700; font-size: .92rem; border: 0; background: none; color: var(--muted); padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--grad); color: var(--on-grad); }
.billing-toggle .save { font-size: .75rem; font-weight: 700; color: var(--ok); margin-left: 4px; }
.billing-toggle button[aria-pressed="true"] .save { color: var(--on-grad); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; text-align: left; }
@media (max-width: 1020px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plans-wide { margin-top: 20px; }
.plan-full { grid-column: 1 / -1; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan:nth-child(1) { background: linear-gradient(135deg, var(--sky-1), var(--sky-2)); }
.plan:nth-child(3) { background: linear-gradient(135deg, var(--lav-1), var(--lav-2)); }
.plan.featured { border: 2px solid transparent; background: linear-gradient(135deg, var(--pink-1), var(--pink-2)) padding-box, var(--grad) border-box; }
.plan .name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--heading); display: flex; align-items: center; gap: 10px; }
.plan .badge { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }
.plan .price { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 2.8rem; font-weight: 700; color: var(--heading); margin: 14px 0 0; line-height: 1.1; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--faint); letter-spacing: 0; }
.plan .per { color: var(--faint); font-size: .9rem; min-height: 1.5em; }
.plan .for { color: var(--muted); margin: 12px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding-left: 28px; position: relative; margin: 10px 0; color: var(--text); font-size: .95rem; }
.plan li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn); border-radius: 14px; padding: 14px 18px; max-width: 900px; margin: 28px auto 0; text-align: left; font-size: .95rem; }
.plan .lead-number { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
.plan .lead-number strong { font-size: 1.5rem; font-weight: 800; color: var(--heading); margin-right: 4px; }
.packs-line { max-width: 1040px; margin: 22px auto 0; color: var(--muted); text-align: center; }
.packs-line strong { color: var(--heading); }
.currency-line { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.currency-line a { color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 2px 4px; }
.currency-line strong { color: var(--heading); padding: 2px 4px; }
.plan-rows { display: none; max-width: 560px; margin: 0 auto; text-align: left; }
.plan-row { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.plan-row[data-tier="starter"] { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.plan-row summary { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name price choose" "apps price choose"; align-items: center; column-gap: 12px; padding: 12px 14px; min-height: 64px; cursor: pointer; list-style: none; }
.plan-row summary::-webkit-details-marker { display: none; }
.plan-row .row-name { grid-area: name; font-weight: 800; color: var(--heading); }
.plan-row .row-apps { grid-area: apps; color: var(--muted); font-size: .9rem; }
.plan-row .row-apps strong { color: var(--heading); }
.plan-row .row-price { grid-area: price; font-weight: 800; color: var(--heading); text-align: right; }
.plan-row .row-price small { display: block; font-weight: 600; color: var(--faint); font-size: .75rem; }
.plan-row .row-choose { grid-area: choose; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 12px; background: var(--grad); color: var(--on-grad); font-weight: 700; text-decoration: none; }
.plan-row .row-body { padding: 0 14px 14px; color: var(--muted); }
.plan-row .row-body ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 640px) { .plans-desk { display: none; } .plan-rows { display: block; } .billing-toggle { margin-bottom: 18px; } }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare th { color: var(--heading); font-weight: 700; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare td:first-child, .compare th:first-child { width: 40%; min-width: 180px; }
.compare { min-width: 560px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.yes { color: var(--ok); font-weight: 700; }
.dash { color: var(--faint); }

/* ----------------------------------------------------------------- legal */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc .updated { color: var(--faint); margin-bottom: 28px; }
.doc h2 { font-size: 1.4rem; margin-top: 2.2em; padding-top: .4em; }
.doc h3 { font-size: 1.08rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .4em 0; }
.doc .summary { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 16px; padding: 18px 22px; }
.doc .summary ul { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .93rem; }
.doc th, .doc td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface-2); color: var(--heading); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-bottom: 8px; }
.toc ol { margin: 6px 0 0; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } .doc table { display: block; overflow-x: auto; } }

/* --------------------------------------------------------- install steps */
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list > li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font-weight: 800; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; }
.steps-list h3 { margin-bottom: 4px; }
.steps-list p { color: var(--muted); margin: 0; }
.kbd { font-family: 'JetBrains Mono', monospace; font-size: .85em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.checksum { font-family: 'JetBrains Mono', monospace; font-size: .78rem; color: var(--faint); word-break: break-all; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; color: var(--heading); font-size: .95rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); border-color: var(--focus); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #BE123C; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; background: var(--surface-2); margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--heading); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-footer a:hover { color: var(--heading); }
.site-footer .tagline { color: var(--muted); margin-top: 10px; max-width: 26em; font-size: .95rem; }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--faint); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* page heads (non-home) */
.page-head { background: var(--wash); border-bottom: 1px solid var(--border); padding: 64px 0 48px; text-align: center; }
.page-head .lead { margin: 0 auto; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.m0 { margin: 0 !important; }
.page-head .cta-row { justify-content: center; }
.page-head .fine { margin: 0; }
/* Back from signing in for the extension (/extension#download): say so, once. */
.signed-in-note { display: none; }
#download:target ~ .signed-in-note { display: block; color: var(--ink); font-weight: 600; }
[hidden] { display: none !important; }

/* Screen-reader-only text. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Two ways to start (hero): big, one line each, the device's own first (site.js). */
.start { display: grid; gap: 12px; margin: 28px 0 16px; max-width: 520px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.choice:hover { transform: translateY(-1px); border-color: var(--brand-200); text-decoration: none; }
.choice:active { transform: none; }
.choice:focus-visible { border-radius: 18px; }
.choice-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-link); }
.choice-icon svg { width: 22px; height: 22px; }
.choice-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.choice-text strong { font-size: 1.06rem; line-height: 1.25; }
.choice-text span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.choice-go { flex: none; width: 22px; height: 22px; color: var(--brand-link); }
.choice.primary { background: var(--grad); border-color: transparent; color: var(--on-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px rgba(42, 5, 11, .28); }
.choice.primary .choice-text span { color: rgba(255, 247, 239, .85); }
.choice.primary .choice-icon { background: rgba(255, 247, 239, .14); color: var(--on-grad); }
.choice.primary .choice-go { color: var(--on-grad); }
/* The Android app is offered on Android phones only; the extension wherever it can run. */
.choice-android { display: none; }
html[data-device="android"] .choice-android { display: flex; }
html[data-device="android"] .choice-ext, html[data-device="ios"] .choice-ext, html[data-browser="other"] .choice-ext { display: none; }

/* What shows by device (site.js sets html[data-device]; design review, decision 1). */
.cta-extra { display: none; margin: -4px 0 12px; color: var(--muted); font-size: .95rem; }
.cta-extra a { color: var(--brand-link); font-weight: 600; }
html[data-device="desktop"] .cta-desktop-only { display: block; }
/* The header's button: the extension on a computer that can run it, else the web app. */
.nav .cta-ext { display: none; }
html[data-device="desktop"]:not([data-browser="other"]) .nav .cta-ext { display: inline-flex; }
html[data-device="desktop"]:not([data-browser="other"]) .nav .cta-web { display: none; }

/* "Why not a bot?": a real table on computers, one block per question on phones
   (decision 19), the bot's answer in grey and ResumeWay's in bold on the brand tint. */
.bot-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: .97rem; }
.bot-table th, .bot-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.bot-table tbody tr:last-child th, .bot-table tbody tr:last-child td { border-bottom: 0; }
.bot-table thead th { font-size: .82rem; color: var(--faint); font-weight: 700; background: var(--surface-2); }
.bot-table tbody th { color: var(--heading); font-weight: 700; width: 30%; }
.bot-table td:nth-of-type(1) { color: var(--faint); width: 30%; }
.bot-table td:nth-of-type(2) { color: var(--heading); font-weight: 700; background: var(--brand-50); }
@media (max-width: 640px) {
  .bot-table, .bot-table tbody, .bot-table tr, .bot-table th, .bot-table td { display: block; width: auto !important; }
  .bot-table { border: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .bot-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bot-table tr { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
  .bot-table tbody th { border-bottom: 0; padding-bottom: 4px; font-size: 1.02rem; }
  .bot-table td { border-bottom: 0; padding-top: 8px; }
  .bot-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; color: var(--faint); }
  .bot-table td:nth-of-type(2)::before { color: var(--brand-link); }
}

/* "Extensions work on a computer…": shown on phones and outside Chromium (site.js). */
.notice-inline { display: none; margin: 14px auto 0; max-width: 560px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn); }
.notice-inline a { color: inherit; font-weight: 700; }
html[data-device="android"] .not-desktop, html[data-device="ios"] .not-desktop, html[data-browser="other"] .not-desktop { display: block; }
