/* Cosas website. Light only, SF like the app, the icon's paper and inks. */

:root {
  --paper: #F4F3F0;
  --sheet: #FFFFFF;
  --well: #ECEAE6;
  --foot: #EFEDEA;
  --ink: #201E1D;
  --ink-2: #5E5A56;
  --ink-3: #69645F;
  --hair: rgba(32, 30, 29, .12);
  --hair-2: rgba(32, 30, 29, .2);
  --tint: #00708F;
  --cyan: #0088B0;
  --magenta: #D6006C;
  --yellow: #EDBB00;
  /* The app's own system colors, for the drawn screens. */
  --label: #000000;
  --secondary: #6C6C70;
  --fill: rgba(116, 116, 128, .09);
  --fill-2: rgba(120, 120, 128, .12);
  --system-blue: #007AFF;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  min-height: 100svh; display: flex; flex-direction: column;
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(237, 187, 0, .45); color: var(--ink); }
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--tint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
.icon { width: 1em; height: 1em; flex: none; }

/* Type */
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.032em; font-weight: 700; margin-bottom: 26px; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.028em; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.016em; font-weight: 600; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 0 0 32px; max-width: 32em; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 33em; text-wrap: pretty; }
.more-link { font-weight: 600; }

/* Header */
.top { border-bottom: 1px solid var(--hair); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.menu { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.menu a, .lang { color: var(--ink-2); white-space: nowrap; }
.menu a:hover, .lang:hover { color: var(--ink); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--ink); }
.lang { font-size: 15px; font-weight: 500; padding-left: 26px; border-left: 1px solid var(--hair-2); }
.soon { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* App Store placeholder: swap for Apple's badge once the app is live */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.badge { display: inline-flex; flex-direction: column; justify-content: center; height: 54px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fff; line-height: 1.1; }
.badge small { font-size: 11px; font-weight: 500; opacity: .8; }
.badge b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.made { font-size: 15px; color: var(--ink-2); font-style: italic; }
.marks { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.marks li { display: flex; align-items: center; gap: 10px; }
.marks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.marks .c::before { background: var(--cyan); }
.marks .m::before { background: var(--magenta); }
.marks .y::before { background: var(--yellow); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 104px); }

/* Plates: a framed sheet holding a piece of the app */
.plate { margin: 0; }
.sheet { background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); box-shadow: 0 1px 2px rgba(32, 30, 29, .05), 0 30px 60px -30px rgba(32, 30, 29, .28); }
.plate figcaption { font-size: 14px; font-style: italic; color: var(--ink-3); margin: 14px 4px 0; display: flex; justify-content: space-between; gap: 16px; }

/* The app's screens, drawn as the app draws them */
.app-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 14px; }
.app-bar b { display: block; font-size: 19px; letter-spacing: -.02em; color: var(--label); }
.app-bar span { display: block; font-size: 12px; color: var(--secondary); }
.capsule { display: flex; gap: 2px; padding: 4px 6px; border-radius: 99px; background: var(--fill-2); color: var(--label); }
.capsule .icon { width: 26px; height: 26px; padding: 5px; }
.masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.col { display: grid; gap: 14px; }
.card .m { border-radius: 11px; overflow: hidden; background: var(--fill); }
.card .m > img { width: 100%; height: 100%; object-fit: cover; }
.card .t { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--label); margin: 6px 0 0; letter-spacing: -.005em; }
.card .c { display: flex; align-items: center; gap: 4px; font-size: 10.5px; line-height: 1.3; color: var(--secondary); margin: 1px 0 0; white-space: nowrap; overflow: hidden; }
.card .c .icon { width: 11px; height: 11px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; margin-left: 2px; background: var(--system-blue); }
.dot.orange { background: #FF9500; }
.r1 { aspect-ratio: 1; } .r45 { aspect-ratio: 4 / 5; } .r34 { aspect-ratio: 3 / 4; } .r1610 { aspect-ratio: 16 / 10; }
.box { padding: 10px 11px; font-size: 12.5px; line-height: 1.35; color: var(--label); }
.appicon { aspect-ratio: 1; display: grid; place-items: center; }
.appicon img { width: 56%; }
.mat { padding: 7px; }
.pass { background: #fff; border-radius: 5px; aspect-ratio: 9 / 12.5; padding: 10px 9px; display: flex; flex-direction: column; gap: 6px; font-size: 8px; line-height: 1.3; color: #1D1D1F; }
.pass .h { font-weight: 700; letter-spacing: .08em; color: #8E8E93; font-size: 7px; }
.pass .r { font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.pass .g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-top: 1px solid #E5E5EA; padding-top: 6px; color: #8E8E93; }
.pass .g b { display: block; font-size: 11px; color: #1D1D1F; }
.pass .code { margin-top: auto; height: 22px; background: repeating-linear-gradient(90deg, #1D1D1F 0 1.5px, transparent 1.5px 3px, #1D1D1F 3px 4px, transparent 4px 6px); }
.fan { position: relative; aspect-ratio: 4 / 5; background: none !important; }
/* The photos behind turn a few degrees but keep their corners inside the card, as in the app. */
.card .m.fan > img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 10px; object-fit: cover; backface-visibility: hidden; outline: 1px solid transparent; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95); }
.card .m.fan > img:nth-child(1) { transform: rotate(-7deg); }
.card .m.fan > img:nth-child(2) { transform: rotate(6deg); }
.play { position: relative; }
.play .icon { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .hero .card { animation: arrive .8s var(--ease) backwards; }
  .hero .col:nth-child(1) .card:nth-child(1) { animation-delay: .05s; }
  .hero .col:nth-child(2) .card:nth-child(1) { animation-delay: .12s; }
  .hero .col:nth-child(3) .card:nth-child(1) { animation-delay: .19s; }
  .hero .col:nth-child(1) .card:nth-child(2) { animation-delay: .26s; }
  .hero .col:nth-child(2) .card:nth-child(2) { animation-delay: .33s; }
  .hero .col:nth-child(3) .card:nth-child(2) { animation-delay: .40s; }
  .hero .col:nth-child(1) .card:nth-child(3) { animation-delay: .47s; }
  .hero .col:nth-child(2) .card:nth-child(3) { animation-delay: .54s; }
  .hero .col:nth-child(3) .card:nth-child(3) { animation-delay: .61s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(12px) scale(.98); } }
}

/* Facts band */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); margin: 0; }
.facts div { padding: 26px 26px 28px; border-left: 1px solid var(--hair); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.4; }

/* Sections */
.sec { padding: clamp(88px, 11vw, 144px) 0 0; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.duo.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.duo.flip > :first-child { order: 2; }
.kinds { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--hair); }
.kinds li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.kinds .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-2); }
.kinds b { font-weight: 600; }
.kinds span { color: var(--ink-2); }
.six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; align-items: start; }
.six .card .m { border-radius: 12px; }
.six .t { font-size: 13px; }
.six .c { font-size: 11px; }

/* Detail screen */
.detail .cover { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 16px; }
.detail .cover img { width: 100%; height: 100%; object-fit: cover; }
.detail .hd { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--label); line-height: 1.15; }
.detail .src { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--secondary); margin: 4px 0 18px; }
.detail .src .icon { width: 13px; height: 13px; }
.lbl { display: flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--secondary); margin: 0 0 8px; }
.lbl .icon { width: 13px; height: 13px; }
.lbl .edit { margin-left: auto; text-transform: none; font-size: 13px; letter-spacing: 0; color: var(--system-blue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chips.last { margin-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 99px; background: var(--fill-2); font-size: 13px; font-weight: 500; color: var(--label); }
.chip .icon { width: 13px; height: 13px; }
.summary p { font-size: 14.5px; line-height: 1.45; color: var(--label); margin: 0 0 10px; }
.summary ul { margin: 0; padding: 0 0 0 16px; font-size: 13.5px; line-height: 1.45; color: var(--label); }
.summary li { margin-bottom: 5px; }
.summary li::marker { color: var(--secondary); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.topics li { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--hair-2); font-size: 14.5px; font-weight: 500; color: var(--ink); background: var(--sheet); }

/* Search screen */
.field { display: flex; align-items: center; gap: 7px; height: 38px; border-radius: 19px; background: var(--fill-2); padding: 0 12px; font-size: 15px; color: var(--label); }
.field .icon { width: 15px; height: 15px; color: var(--secondary); }
.caret { width: 1.5px; height: 18px; background: var(--system-blue); margin-left: -4px; }
.found { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.ocr { font-size: 13px; line-height: 1.5; color: var(--label); }
.ocr p { margin: 0; }
mark { background: rgba(237, 187, 0, .45); color: inherit; border-radius: 3px; padding: 0 2px; }
.where { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.where li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.where .icon { width: 18px; height: 18px; color: var(--tint); }

/* Privacy: ruled points beside the app's Settings */
.points li { grid-template-columns: minmax(0, 1fr); }
.fine { font-size: 15px; color: var(--ink-3); margin: 24px 0 0; max-width: 40em; }
.settings { background: #F2F2F7; padding: clamp(18px, 2.4vw, 28px); }
.set-title { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--label); margin: 0 4px 16px; }
.group { background: #fff; border-radius: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; font-size: 15px; color: var(--label); }
.row .val { color: var(--secondary); }
.switch { width: 46px; height: 28px; border-radius: 99px; background: var(--system-blue); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.set-foot { font-size: 12.5px; line-height: 1.4; color: var(--secondary); margin: 7px 14px 20px; }
.set-foot:last-child { margin-bottom: 4px; }
.set-head { font-size: 12.5px; text-transform: uppercase; color: var(--secondary); margin: 4px 14px 7px; }

/* Sync */
.devices { position: relative; padding: 0 17% 9% 0; }
.window { background: var(--sheet); border: 1px solid var(--hair-2); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(32, 30, 29, .05), 0 30px 60px -30px rgba(32, 30, 29, .3); }
.window .chrome { display: flex; gap: 6px; padding: 11px 13px; border-bottom: 1px solid var(--hair); background: #FAFAF9; }
.window .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #DCD9D5; }
.window .in { display: grid; grid-template-columns: 27% minmax(0, 1fr); }
.side { padding: 12px 10px; background: #F6F5F3; border-right: 1px solid var(--hair); font-size: 11.5px; color: var(--label); display: grid; gap: 2px; align-content: start; }
.side span { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 6px; }
.side .on { background: rgba(0, 122, 255, .14); }
.side .icon { width: 12px; height: 12px; color: var(--system-blue); }
.side em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--secondary); padding: 10px 7px 2px; }
.window .grid { padding: 14px 14px 5px; columns: 4; column-gap: 9px; }
.window .grid .card { break-inside: avoid; margin-bottom: 9px; }
.window .box { font-size: 10.5px; padding: 8px; }
.phone { position: absolute; right: 0; bottom: 0; width: 31%; background: var(--sheet); border: 1px solid var(--hair-2); border-radius: 28px; padding: 16px 11px 18px; box-shadow: 0 1px 2px rgba(32, 30, 29, .06), 0 30px 60px -24px rgba(32, 30, 29, .4); }
.phone .app-bar { margin-bottom: 10px; }
.phone .app-bar b { font-size: 15px; }
.phone .twin { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-items: start; }
.new { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 3.5px var(--system-blue); border-radius: 11px; }

/* Find: four framed cards */
.four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.four article { background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px 28px 30px; display: grid; grid-template-rows: 150px auto; gap: 22px; }
.four .vis { background: var(--paper); border-radius: 12px; display: grid; place-items: center; padding: 14px; overflow: hidden; }
.four p { color: var(--ink-2); margin: 0; }
.days { display: grid; grid-template-columns: repeat(7, 34px); gap: 4px; text-align: center; font-size: 13px; color: var(--label); }
.days span { height: 34px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.days .w { color: var(--secondary); font-size: 10.5px; font-weight: 600; height: 16px; }
.days .has::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--secondary); }
.days .sel { background: #0071E3; color: #fff; font-weight: 600; }
.days .sel::after { background: #fff; }
.rows { width: 100%; max-width: 280px; background: #fff; border-radius: 12px; border: 1px solid var(--hair); }
.rows div { display: flex; align-items: center; gap: 9px; padding: 7px 12px; font-size: 13.5px; color: var(--label); border-bottom: 1px solid var(--hair); }
.rows div:last-child { border: 0; }
.rows .icon { width: 15px; height: 15px; }
.rows span { margin-left: auto; color: var(--secondary); }
.rows .tick { margin-left: auto; color: var(--system-blue); }
.colors { display: flex; gap: 12px; }
.colors span { width: 26px; height: 26px; border-radius: 50%; }
.colors .sel { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px rgba(32, 30, 29, .35); }
.c-red { background: #FF3B30; } .c-orange { background: #FF9500; } .c-yellow { background: #FFCC00; }
.c-green { background: #34C759; } .c-blue { background: #007AFF; } .c-purple { background: #AF52DE; }
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 56px; border-top: 1px solid var(--hair); }
.also div { padding: 26px 0 0; }
.also p { color: var(--ink-2); margin: 0; }

/* Roadmap */
.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--well); border-radius: 99px; padding: 4px 12px 4px 10px; margin: -6px 0 18px; }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.reader { padding: clamp(24px, 3.5vw, 44px) clamp(24px, 4vw, 52px); }
.reader .src { font-size: 12px; color: var(--secondary); margin-bottom: 10px; }
.reader b { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: var(--label); margin-bottom: 14px; }
.reader p { font-size: 14px; line-height: 1.65; color: #3A3A3C; margin: 0 0 10px; }

.sec.first { padding-top: clamp(48px, 6vw, 80px); }
.also.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 104px); }
.spacer { height: clamp(72px, 8vw, 112px); }

/* Closing */
.closing { margin: clamp(88px, 11vw, 144px) 0 clamp(72px, 8vw, 112px); background: var(--sheet); border: 1px solid var(--hair); box-shadow: 0 1px 2px rgba(32, 30, 29, .05), 0 30px 60px -30px rgba(32, 30, 29, .28); border-radius: 22px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.closing h2 { margin-bottom: 14px; }
.closing p { color: var(--ink-2); margin: 0; max-width: 34em; }
.closing .req { font-size: 14px; margin-top: 18px; color: var(--ink-3); }

/* Inner pages */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--hair); }
.page-head h1 { max-width: 15em; }
.page-head .lead { margin-bottom: 0; }
.tips { list-style: none; padding: 0; margin: 0; }
.tips > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 64px); padding: clamp(36px, 4vw, 52px) 0; border-bottom: 1px solid var(--hair); }
.tips h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.022em; line-height: 1.15; margin: 0; }
.tips p { color: var(--ink-2); max-width: 36em; }
.note { margin: 18px 0 0; padding: 14px 18px; background: var(--sheet); border: 1px solid var(--hair); border-radius: 12px; font-size: 15px; font-style: italic; color: var(--ink-2); max-width: 40em; }
kbd { font: 600 13px/1 var(--sans); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--hair-2); background: var(--sheet); color: var(--ink); white-space: nowrap; font-style: normal; }

.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(20px, 4vw, 64px); padding: clamp(44px, 5vw, 64px) 0; border-bottom: 1px solid var(--hair); }
.release .ver { font-size: 15px; color: var(--ink-2); }
.release .ver b { display: block; font-size: 17px; color: var(--tint); margin-bottom: 2px; }
.release .state { margin: 12px 0 0; }
.release h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.022em; margin-bottom: 14px; }
.release p { color: var(--ink-2); max-width: 38em; }
.release ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); max-width: 44em; }
.release li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--hair); position: relative; }
.release li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }

.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); padding: clamp(44px, 5vw, 64px) 0 clamp(72px, 8vw, 112px); align-items: start; }
.contact { position: sticky; top: 24px; background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px; }
.contact h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 12px; }
.contact p { color: var(--ink-2); font-size: 15px; }
.contact .mail { font-weight: 600; font-size: 16px; word-break: break-all; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.faq .a p:last-child { margin: 0; }

.legal-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(28px, 5vw, 72px); padding: clamp(44px, 5vw, 64px) 0 clamp(72px, 8vw, 112px); align-items: start; }
.gist { position: sticky; top: 24px; background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px 28px; }
.gist h2 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 12px; }
.gist ul { margin: 0; padding: 0; list-style: none; }
.gist li { padding: 8px 0 8px 24px; border-top: 1px solid var(--hair); position: relative; font-size: 15px; }
.gist li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.gist li:nth-child(2)::before { background: var(--magenta); }
.gist li:nth-child(3)::before { background: var(--yellow); }
.gist li:nth-child(4)::before { background: var(--ink); }
.doc { max-width: 42em; }
.doc h2 { font-size: clamp(24px, 2.4vw, 28px); letter-spacing: -.02em; margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .date { font-size: 15px; color: var(--ink-3); }

/* Footer */
footer { border-top: 1px solid var(--hair); padding: 48px 0 40px; font-size: 14px; color: var(--ink-2); background: var(--foot); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { font-size: 18px; }
.foot .brand img { width: 30px; height: 30px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a, .foot .mail { color: var(--ink); font-weight: 500; }
.foot p { margin: 12px 0 0; }
.foot .ask { margin: 0 0 6px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hair); margin-top: 40px; padding-top: 20px; font-size: 12px; color: var(--ink-3); }

@media (max-width: 1020px) {
  .bar { flex-wrap: wrap; row-gap: 0; padding-top: 14px; }
  .menu { order: 3; flex-basis: 100%; margin: 0; overflow-x: auto; padding: 14px 0; gap: 22px; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; border: 0; padding: 0; }
}
@media (max-width: 920px) {
  .hero, .duo, .duo.flip, .next, .closing, .tips > li, .release, .support, .legal-doc { grid-template-columns: minmax(0, 1fr); }
  .duo.flip > :first-child { order: 0; }
  .also, .also.wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .four { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .contact, .gist { position: static; }
}
@media (max-width: 560px) {
  .soon { display: none; }
  .menu { flex-wrap: wrap; overflow: visible; gap: 8px 18px; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .col:nth-child(3) { display: none; }
  .col { gap: 12px; }
  .six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding: 20px; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--hair); }
  .facts dt { font-size: 21px; }
  .where { grid-template-columns: minmax(0, 1fr); }
  .devices { padding: 0; }
  .phone { display: none; }
  .window .grid { columns: 3; }
  .four article { padding: 20px; }
  .days { grid-template-columns: repeat(7, 30px); }
  .days span { height: 30px; }
}
