@font-face { font-family: "Montagu Slab"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/montagu-500.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("fonts/jost-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/plexmono-500.woff2") format("woff2"); }

:root {
  --canvas: rgb(175, 175, 175);
  --page: #f4f4f4;
  --card: #e6e6e6;
  --ink: #000;
  --soft: #4a4a4a;
  --dash: #8d8d8d;
  --amber: #ffae00;
  --amber-hover: #ffbd2e;
  --serif: "Montagu Slab", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: 98px;
  --dash-card: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'><rect width='100%' height='100%' rx='24' ry='24' fill='none' stroke='%238d8d8d' stroke-width='2' stroke-dasharray='6 6'/></svg>");
  --dash-btn: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'><rect width='100%' height='100%' rx='10' ry='10' fill='none' stroke='%238d8d8d' stroke-width='2' stroke-dasharray='6 6'/></svg>");
  --dash-badge: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'><rect width='100%' height='100%' rx='5' ry='5' fill='none' stroke='%238d8d8d' stroke-width='2' stroke-dasharray='3 3'/></svg>");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 23px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }

.page { max-width: 1146px; margin-inline: auto; background-color: var(--page); background-image: url("assets/grain.png"); background-size: 176px 176px; background-repeat: repeat; overflow: hidden; }
.wrap { padding-inline: var(--pad); }

/* dashed rules, exactly like the design (6px dash, 6px gap) */
.rule { height: 1px; background: repeating-linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 12px); }
.rule-v { width: 1px; background: repeating-linear-gradient(180deg, var(--dash) 0 6px, transparent 6px 12px); }

.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; line-height: normal; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; line-height: normal; text-decoration: none; color: var(--ink); background: var(--amber); border: 1px solid rgba(0,0,0,.2); border-radius: 10px; padding: 10px 23px; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--amber-hover); }
.btn.white { background: #fff; }
.btn.white:hover { background: #fafafa; }
.btn[aria-disabled="true"] { background: var(--dash-btn) 0 0 / 100% 100% no-repeat border-box, transparent; color: #7a7a7a; border-color: transparent; cursor: not-allowed; pointer-events: none; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 114px; padding-top: 0; }
.nav .logo { width: 125px; height: auto; }
.nav nav { display: flex; gap: 40px; }
.nav nav a { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: normal; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .btn { padding: 10px 23px; }

/* hero */
.hero { text-align: center; padding-top: 102px; }
.hero h1 { font-size: 80px; line-height: .96; letter-spacing: -.03em; max-width: 690px; margin: 18px auto 0; }
.hero .lead { font-size: 20px; line-height: 27px; max-width: 528px; margin: 34px auto 0; }
.hero .cta { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.hero .hero-note { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--soft); }
.hero .shot { margin: 84px -2.09% 0; width: 104.18%; }
.hero .shot img { width: 100%; height: auto; transform-origin: 50% 50%; will-change: transform; }

/* sections */
.section { padding-top: 140px; }
.section h2 { font-size: 64px; line-height: .96; letter-spacing: -.03em; margin-top: 18px; }
.section .intro { font-size: 20px; line-height: 27px; max-width: 766px; margin-top: 26px; }
.section .intro strong { font-weight: 600; }

.trio { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr); column-gap: 40px; margin-top: 80px; }
.trio .col { padding: 0; min-width: 0; }
.icon-box { width: 64px; height: 64px; background: #fff; border-radius: 14px; display: grid; place-items: center; }
.icon-box img { width: 36px; height: 36px; }
.trio h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.03em; margin: 24px 0 14px; }
.trio p { max-width: 270px; }

.more { display: grid; grid-template-columns: 1fr 380px; gap: 114px; align-items: center; }
.more h3 { font-size: 37px; line-height: 1.08; letter-spacing: -.03em; margin-top: 18px; }
.more .txt { margin-top: 20px; max-width: 456px; font-size: 20px; line-height: 27px; }
.more .txt p + p { margin-top: 14px; }
.more .btn { margin-top: 32px; }

.dcard { background: var(--dash-card) 0 0 / 100% 100% no-repeat border-box, var(--card); border: 1px solid transparent; border-radius: 24px; overflow: hidden; position: relative; }
.dcard h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.dcard.contact { padding: 34px 36px 40px; }
.dcard.contact h3 { margin: 20px 0 14px; }
.dcard.contact p { max-width: 291px; }

.fav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.dcard.fav { padding: 44px 36px 0; height: 476px; }
.dcard.fav p { margin-top: 20px; max-width: 358px; }
.dcard.fav .pic { position: absolute; left: -1px; top: 196px; width: 652px; height: 536px; overflow: hidden; pointer-events: none; }
.dcard.fav .pic img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.dcard.fav .pic.gear img { position: absolute; width: 102.27%; height: auto; left: 2.79%; top: 2.64%; }


/* big call to action */
.cta-big { background: var(--amber); border: 1px solid rgba(0,0,0,.2); border-radius: 24px; padding: 72px 64px; text-align: center; }
.cta-big h2 { font-size: 64px; line-height: .96; letter-spacing: -.03em; margin: 18px 0 0; }
.cta-big .cta-txt { font-size: 20px; line-height: 27px; margin-top: 22px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn.dark { background: #000; color: #fff; border-color: #000; }
.btn.dark:hover { background: #222; }
.btn.dark.ghost { background: transparent; color: #000; }
.btn.dark.ghost:hover { background: rgba(0,0,0,.08); }

/* download */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.dcard.dl { padding: 36px; min-height: 320px; display: flex; flex-direction: column; }
.dcard.dl .os { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: normal; color: var(--soft); }
.dcard.dl h3 { font-size: 37px; line-height: 1.08; margin-top: 14px; }
.dcard.dl p { margin-top: 12px; flex: 1; }
.dcard.dl .btn { margin-top: 28px; align-self: flex-start; }
.dcard.dl.on { background: #fff; border-color: rgba(0,0,0,.2); }
.dcard.dl.soon { color: #6e6e6e; }
.badge { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--dash); border-radius: 6px; padding: 2px 8px; line-height: 1.3; margin-left: 10px; vertical-align: middle; position: relative; top: -4px; color: #6e6e6e; }
.install-lead { margin-top: 14px; }
.modal ol { margin: 14px 0 0; padding-left: 22px; }
.modal li { margin-top: 4px; }
.modal code { font-family: var(--mono); font-weight: 500; font-size: 13px; }
.cmd { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; background: #fff; border: 1px solid rgba(0,0,0,.2); border-radius: 10px; padding: 10px 10px 10px 16px; }
.cmd code { font-size: 13px; white-space: normal; word-break: break-word; line-height: 1.5; }
.copy { flex: none; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--amber); border: 1px solid rgba(0,0,0,.2); border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.copy:hover { background: var(--amber-hover); }
.dl-note { margin-top: 28px; max-width: 520px; color: var(--soft); }

/* about */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; background: var(--dash-card) 0 0 / 100% 100% no-repeat border-box, var(--card); border: 1px solid transparent; border-radius: 24px; display: grid; place-items: center; color: #7a7a7a; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-photo { margin: 0; }
.portrait.has-photo { display: block; position: relative; background: none; border: 0; aspect-ratio: 2 / 3; }
.portrait.has-photo img { object-position: 50% 100%; }
.credit { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; height: 30px; padding: 0 7px; border-radius: 15px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; cursor: default; outline-offset: 2px; }
.credit svg { flex: none; }
.credit span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; line-height: normal; transition: max-width .25s ease, opacity .2s ease, margin .25s ease; }
.credit:hover span, .credit:focus span, .credit:focus-within span { max-width: 220px; opacity: 1; margin: 0 6px 0 8px; }

.about h2 { margin-top: 18px; }
.about .txt { font-size: 20px; line-height: 27px; margin-top: 24px; max-width: 480px; }
.about .txt p + p { margin-top: 16px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn-social { gap: 10px; padding-left: 15px; padding-right: 15px; }
.btn-social .ico { flex: none; }

/* faq */
.faq-list { margin-top: 50px; }
.faq-list .rule:last-child { margin-top: 0; }
details { padding: 24px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 22px; font-weight: 500; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details p { max-width: 640px; margin-top: 14px; font-size: 18px; line-height: 25px; }

/* footer */
.footer { margin-top: 140px; padding-bottom: 48px; }
.footer .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; font-size: 14px; color: var(--soft); }
.footer .logo { width: 96px; }
.footer nav { display: flex; gap: 28px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer a[aria-disabled="true"] { opacity: .55; pointer-events: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 1000px) {
  :root { --pad: 40px; }
  .hero h1 { font-size: 64px; max-width: 560px; }
  .section h2, .cta-big h2 { font-size: 52px; }
  .more { grid-template-columns: 1fr; gap: 50px; }
  .dcard.contact { max-width: 420px; }
  .fav-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 300px 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  :root { --pad: 22px; }
  .nav { height: 84px; }
  .nav nav { display: none; }
  .hero { padding-top: 60px; }
  .hero h1 { font-size: 46px; }
  .hero .lead { font-size: 18px; }
  .hero .cta { flex-wrap: wrap; }
  .hero .shot { margin-top: 56px; }
  .section { padding-top: 90px; }
  .section h2, .cta-big h2 { font-size: 40px; }
  .cta-big { padding: 48px 24px; }
  .section .intro, .more .txt, .about .txt { font-size: 18px; }
  .trio { grid-template-columns: 1fr; column-gap: 0; margin-top: 50px; }
  .trio .rule-v { width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 12px); margin: 40px 0; }
  .trio .col, .trio .col:nth-child(n) { padding-inline: 0; }
  .more h3 { font-size: 30px; }
  .dcard.fav { height: 440px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { width: 100%; }
  summary { font-size: 20px; }
  .footer .row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* legal pages */
.legal { padding-top: 90px; }
.legal h1 { font-size: 64px; line-height: .96; letter-spacing: -.03em; margin-top: 18px; }
.lang-switch { display: flex; gap: 12px; margin-top: 32px; }
.legal-block { margin-top: 90px; }
.legal-block h2 { font-size: 44px; line-height: 1; letter-spacing: -.03em; margin: 18px 0 36px; }
.legal-block h3 { font-size: 22px; line-height: 1.1; letter-spacing: -.02em; margin: 36px 0 10px; }
.legal-block p { max-width: 680px; font-size: 18px; line-height: 26px; margin-top: 10px; }
.legal-block address { font-style: normal; font-size: 18px; line-height: 26px; }
.legal-block .rule { margin-bottom: 0; }
.todo { background: rgba(255,174,0,.35); border-radius: 4px; padding: 0 5px; }
@media (max-width: 720px) { .legal h1 { font-size: 44px; } .legal-block h2 { font-size: 34px; } }

/* download dialog */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 36px 36px 32px; border: 1px solid rgba(0,0,0,.2); border-radius: 24px; background: var(--page); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal h3 { font-size: 37px; line-height: 1.08; letter-spacing: -.03em; margin-top: 14px; }
.modal .modal-lead { margin-top: 14px; }
.modal .rule { margin: 28px 0 24px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(0,0,0,.2); border-radius: 10px; cursor: pointer; color: var(--ink); }
.modal-close:hover { background: #fafafa; }
@media (max-width: 720px) { .modal { padding: 28px 22px 24px; } .modal h3 { font-size: 30px; } .cmd code { white-space: normal; word-break: break-all; } }

.warn { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; background: rgba(255,174,0,.2); border: 1px solid var(--amber); border-radius: 10px; }
.warn svg { flex: none; margin-top: 1px; }
.warn p { font-size: 15px; line-height: 21px; }
.warn strong { font-weight: 600; }
