/* Amorly page: the Amorly design system (https://claude.ai/artifact/P9MSSjxCPd2o56hWnyFtHs).
   Tokens and the .am-* component rules are copied from its tokens.css and components/bundle.css;
   the .a-* rules lay out this page. */

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
/* Ukrainian (and future Cyrillic languages): only downloaded when a page has Cyrillic text. */
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sunk: #f4f4f5;
  --ink: #111114;
  --ink-2: #55555e;
  --ink-3: #6b6b75;
  --line: #ebebee;
  --line-2: #dddde2;
  --accent: #c24916;
  --accent-deep: #8c330c;
  --accent-tint: #fdeee6;
  --on-accent: #ffffff;
  --sage: #12a468;
  --sage-deep: #0b6e45;
  --sage-tint: #e6f8f0;
  --berry: #2e63c4;
  --berry-deep: #22499a;
  --berry-tint: #ebf2fd;
  --energy: #e3a008;
  --lift-stat: 0 2px 0 #dddde2;
  --lift-row: 0 3px 0 #dddde2;
  --lift-cta: 0 4px 0 #8c330c;
  --lift-node-done: 0 4px 0 #0b6e45;
  --radius-card: 22px;
  --radius-option: 18px;
  --radius-badge: 9px;
  --radius-pill: 999px;
  --option-pad: 14px;
  --option-gap: 11px;
  --option-mark: 22px;
  --badge-pad-h: 10px;
  --badge-pad-v: 6px;
  --chip-pad-h: 14px;
  --chip-pad-v: 9px;
  --cta-pad-v: 16px;
  --bar-gap: 5px;
  --font-sans: "Onest", -apple-system, system-ui, sans-serif;
  --gutter: 32px;
}
@media (max-width: 600px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Components (from the design system's bundle.css) ── */
.am-tone-accent  { --t-solid: var(--accent);  --t-deep: var(--accent-deep);  --t-tint: var(--accent-tint); }
.am-tone-neutral { --t-solid: var(--line-2);  --t-deep: var(--ink-3);        --t-tint: var(--sunk); }

.am-cta { margin: 0 0 4px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: var(--cta-pad-v) 0; border-radius: var(--radius-pill); background: var(--t-solid); color: var(--on-accent);
  font: 700 15px/1.275 var(--font-sans); box-shadow: 0 4px 0 var(--t-deep); cursor: pointer; transition: transform .1s ease-in, box-shadow .1s ease-in; }
.am-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--t-deep); }
.am-cta-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.am-badge { display: inline-flex; align-items: center; gap: 5px; padding: var(--badge-pad-v) var(--badge-pad-h); border-radius: var(--radius-badge);
  background: var(--t-tint); color: var(--t-deep); font: 700 10px/1 var(--font-sans); letter-spacing: .13em; text-transform: uppercase; }

.am-option { box-sizing: border-box; width: 100%; margin: 0 0 3px; display: flex; align-items: center; gap: var(--option-gap); padding: var(--option-pad);
  border-radius: var(--radius-option); background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), 0 3px 0 var(--line-2); font-family: var(--font-sans); }
.am-option.is-picked { background: var(--t-tint); box-shadow: inset 0 0 0 1.5px var(--t-solid), 0 3px 0 var(--t-solid); }
.am-option-text { flex: 1; min-width: 0; font: 500 14.5px/1.575 var(--font-sans); letter-spacing: -0.01em; }
.am-mark { width: var(--option-mark); height: var(--option-mark); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; color: var(--on-accent); flex-shrink: 0; }
.am-option .am-mark.is-picked { background: var(--t-solid); box-shadow: inset 0 0 0 2px var(--t-solid); }
.am-marks { display: inline-flex; gap: var(--bar-gap); flex-shrink: 0; }
.am-reveal-mark { width: 22px; height: 22px; font-size: 9.9px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  color: var(--on-accent); font-family: var(--font-sans); font-weight: 700; box-shadow: inset 0 0 0 2px var(--surface); background: var(--accent); line-height: 1; }
.am-reveal-mark.is-theirs { background: var(--berry); }

.am-chip { padding: var(--chip-pad-v) var(--chip-pad-h); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); font: 500 14.5px/1.275 var(--font-sans); }

/* ── Page layout ── */
.a-top { max-width: 1264px; margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.a-back { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.a-back:hover { color: var(--ink); }
.a-back-circle { width: 40px; height: 40px; margin-bottom: 3px; border-radius: 20px; background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--lift-row); display: flex; align-items: center; justify-content: center; flex: none; }
.a-app { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.a-app img { width: 36px; height: 36px; border-radius: 10px; }
@media (max-width: 380px) { .a-back-label { display: none; } }

.a-hero { max-width: 1264px; margin: 0 auto; padding: 48px var(--gutter) 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.a-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.a-icon { width: 96px; height: 96px; border-radius: 24px; }
.a-h1 { margin: 0; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.a-lede { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.a-cta-wrap { width: 320px; max-width: 100%; padding-bottom: 4px; }
.a-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.a-fact { height: 36px; margin-bottom: 2px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--lift-stat); display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; }
.a-star { color: var(--energy); display: flex; }

.a-demo { flex: 1 1 440px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; }
.a-card { flex: 0 1 380px; min-width: 0; margin: 0; padding: 24px 20px 22px; position: relative; z-index: 1; border-radius: var(--radius-card);
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line), var(--lift-row); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.a-question { margin: 0 0 4px; font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -0.025em; }
.a-options { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.a-plush-hero { flex: none; width: 230px; margin-left: -48px; margin-bottom: -12px; }
@media (max-width: 640px) {
  .a-hero { padding-top: 24px; padding-bottom: 48px; gap: 40px; }
  .a-plush-hero { width: 190px; margin: -8px 0 0; }
}

.a-shots { padding: 8px 0 88px; }
.a-shots-in { max-width: 1264px; margin: 0 auto; padding: 4px var(--gutter) 12px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.a-shots-in::-webkit-scrollbar { display: none; }
.a-shots-in img { flex: none; width: 250px; border-radius: 28px; scroll-snap-align: start; }
@media (max-width: 600px) { .a-shots { padding-bottom: 64px; } .a-shots-in img { width: 210px; border-radius: 24px; } }

.a-section { max-width: 1264px; margin: 0 auto; padding: 0 var(--gutter) 96px; display: flex; flex-direction: column; gap: 28px; }
.a-h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.a-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.a-tile { margin-bottom: 3px; padding: 24px; border-radius: var(--radius-card); background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--lift-row); display: flex; flex-direction: column; gap: 10px; }
.a-tile h3 { margin: 0; font-size: 20px; line-height: 1.275; font-weight: 600; }
.a-tile p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.a-step-num { width: 44px; height: 44px; margin-bottom: 6px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 17px; font-weight: 700; }
.a-step-num.is-accent { background: var(--accent); box-shadow: var(--lift-cta); }
.a-step-num.is-berry { background: var(--berry); box-shadow: 0 4px 0 var(--berry-deep); }
.a-step-num.is-sage { background: var(--sage); box-shadow: var(--lift-node-done); }
.a-tile-art { width: auto; height: 96px; max-width: 150px; margin-bottom: 6px; object-fit: contain; object-position: left center; }
.a-chips { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }

.a-sunk { background: var(--sunk); }
.a-sunk .a-section { padding-top: 88px; padding-bottom: 96px; }

.a-closing { max-width: 1264px; margin: 0 auto; padding: 96px var(--gutter); }
.a-closing-card { padding: 48px clamp(24px, 5vw, 64px); border-radius: 32px; background: var(--accent-tint);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.a-closing-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.a-closing-text .a-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.035em; }
.a-closing-text p { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.a-closing-card > img { flex: none; width: 260px; max-width: 100%; }
@media (max-width: 600px) { .a-closing { padding-top: 64px; padding-bottom: 64px; } .a-closing-card > img { width: 200px; } }

.a-footer { border-top: 1px solid var(--line); }
.a-footer-in { max-width: 1264px; margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 13px; color: var(--ink-3); }
.a-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.a-footer-links a { color: var(--ink-2); }
.a-footer-links a:hover { color: var(--accent); }

/* Links to the question pages and app comparisons */
.a-link { transition: transform 0.2s ease; }
.a-link:hover { transform: translateY(-3px); }
.a-footer-links { flex-wrap: wrap; }

/* Language switcher (pages/layout.js langSwitch): a <details> menu in the top bar. */
.a-top-end { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; flex: none; }
.lang > summary { list-style: none; height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-radius: 20px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; user-select: none; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover, .lang[open] > summary { background: var(--sunk); }
.lang > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 184px; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: var(--surface); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.lang-menu a:hover { background: var(--sunk); }
.lang-menu a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
