@font-face { font-family: "Figtree"; src: url(../fonts/figtree-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-italic-latin.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure { margin-top: 0; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

/* Device mockups */
.phone { width: 270px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #0d0c0b; padding: 9px; box-shadow: 0 0 0 1.5px #2a2622, 0 40px 80px -30px rgba(0,0,0,.6), 0 18px 36px -18px rgba(0,0,0,.4); position: relative; flex: none; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); background: #0d0c0b; border-radius: 20px; z-index: 2; }
.screen { height: 100%; border-radius: 38px; overflow: hidden; position: relative; display: flex; flex-direction: column; padding: 62px 22px 26px; color: #fff; font-family: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif; }
.screen--sauna { background: radial-gradient(130% 70% at 50% 0%, #F2B279 0%, #C26A33 40%, #4A2412 100%); }
.screen--quiet { background: linear-gradient(180deg, #2E3A33 0%, #1A211D 100%); }
.screen--paper { background: #F4EEE4; color: #2a241d; }
.scr-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.screen--paper .scr-label { color: #C8643B; }
.scr-title { font-size: 22px; font-weight: 600; margin-top: 4px; }
.scr-ring { margin: 28px auto 18px; width: 170px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(rgba(255,255,255,.95) 0 68%, rgba(255,255,255,.18) 68% 100%); display: grid; place-items: center; }
.scr-ring > div { width: 150px; aspect-ratio: 1; border-radius: 50%; background: rgba(60,25,10,.55); backdrop-filter: blur(6px); display: grid; place-items: center; text-align: center; }
.scr-big { font-size: 40px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.scr-small { font-size: 12px; opacity: .75; margin-top: 4px; }
.scr-row { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.14); font-size: 13px; margin-top: 8px; }
.scr-row b { font-weight: 600; }
.screen--paper .scr-row { background: rgba(42,36,29,.06); }
.scr-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin: 22px 0 10px; }
.scr-bars i { flex: 1; border-radius: 4px; background: rgba(255,255,255,.75); }
.screen--paper .scr-bars i { background: #8A5A36; }
/* Bar heights are classes because the CSP forbids inline styles. */
.h5 { height: 5%; } .h10 { height: 10%; } .h15 { height: 15%; } .h20 { height: 20%; } .h25 { height: 25%; } .h30 { height: 30%; } .h35 { height: 35%; } .h40 { height: 40%; } .h45 { height: 45%; } .h50 { height: 50%; }
.h55 { height: 55%; } .h60 { height: 60%; } .h65 { height: 65%; } .h70 { height: 70%; } .h75 { height: 75%; } .h80 { height: 80%; } .h85 { height: 85%; } .h90 { height: 90%; } .h95 { height: 95%; } .h100 { height: 100%; }
.scr-code { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; line-height: 1.7; opacity: .9; margin-top: 18px; white-space: pre; }
.scr-code .k { color: #E9B97A; } .scr-code .s { color: #A9C79B; } .scr-code .c { opacity: .5; }
.watch { width: 150px; aspect-ratio: 41 / 50; border-radius: 40px; background: #0d0c0b; padding: 8px; box-shadow: 0 0 0 1.5px #2a2622, 0 30px 60px -24px rgba(0,0,0,.6); flex: none; }
.watch .screen { padding: 22px 14px; border-radius: 32px; align-items: center; justify-content: center; text-align: center; }

:root { --forest:#163029; --forest2:#1E3D35; --cream:#F7F0E4; --peach:#F4B183; --clay:#C8643B; --ink:#14201C; --mute:#5E6B66; --display:"Figtree", system-ui, sans-serif; --accent:"Instrument Serif", Georgia, serif; --sans:"Inter", system-ui, sans-serif; }
html, body { background: var(--cream); }
body { color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
h1,h2,h3 { font-family: var(--display); color: inherit; letter-spacing: -.015em; font-weight: 700; }
a { color: inherit; }
.bt-c { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* Hero */
.bt-hero { background: var(--forest); color: var(--cream); border-radius: 0 0 48px 48px; padding: 26px 0 0; overflow: hidden; position: relative; }
.bt-hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; bottom: -520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(244,177,131,.38), transparent); }
.bt-nav { display: flex; justify-content: space-between; align-items: center; background: rgba(247,240,228,.06); border: 1px solid rgba(247,240,228,.1); border-radius: 999px; padding: 10px 10px 10px 24px; }
.bt-mark { font-family: var(--display); font-weight: 700; font-size: 21px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.bt-mark .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--peach), var(--clay)); color: var(--forest); }
.bt-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.bt-nav ul a { text-decoration: none; opacity: .8; } .bt-nav ul a:hover { opacity: 1; color: var(--peach); }
.bt-pill { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--peach); color: var(--forest); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s; }
.bt-pill:hover { transform: translateY(-2px); color: var(--forest); }
.bt-hero-txt { text-align: center; padding: 96px 0 64px; position: relative; }
.bt-badge { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(247,240,228,.08); border: 1px solid rgba(247,240,228,.14); }
.bt-badge b { background: var(--peach); color: var(--forest); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.bt-hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.6rem); line-height: 1.05; margin: 30px auto 26px; max-width: 12ch; color: var(--cream); }
.bt-hero h1 span { color: var(--peach); font-family: var(--accent); font-weight: 400; font-style: italic; letter-spacing: 0; }
.bt-hero p { max-width: 50ch; margin: 0 auto 36px; opacity: .78; font-size: 19px; }
.bt-hero--flat .bt-hero-txt { padding-bottom: 120px; }
.bt-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 430px; margin-top: 10px; }
.bt-phones .phone { position: absolute; top: 0; }
.bt-phones .p1 { transform: translateX(-250px) translateY(70px) rotate(-9deg); }
.bt-phones .p2 { z-index: 2; }
.bt-phones .p3 { transform: translateX(250px) translateY(70px) rotate(9deg); }

/* Bento */
.bt-sec { padding: 120px 0; }
.bt-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 44px; }
.bt-sec-head h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; margin: 0; max-width: 13ch; }
.bt-sec-head p { color: var(--mute); max-width: 40ch; margin: 0; }
.bt-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 250px; gap: 18px; }
.bt-card { border-radius: 32px; padding: 34px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.bt-card h3 { font-size: 34px; line-height: 1.1; margin: 0 0 12px; }
.bt-card h3 a { text-decoration: none; }
.bt-card p { margin: 0; opacity: .75; max-width: 34ch; }
.bt-tag { font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; opacity: .7; }
.c-featured { grid-column: span 4; grid-row: span 2; background: linear-gradient(150deg, #F7C9A0 0%, #EE9D69 55%, #C8643B 100%); color: #3A1A0C; }
.c-featured h3 { max-width: min-content; }
.c-featured .phone { position: absolute; right: 44px; top: 54px; transform: rotate(4deg); }
.c-featured .bt-pill { background: #3A1A0C; color: var(--cream); margin-top: auto; align-self: flex-start; }
.c-mac { grid-column: span 2; grid-row: span 2; background: var(--forest); color: var(--cream); justify-content: space-between; }
.c-mac h3 { font-size: 30px; margin: 0 0 8px; }
.mac-win { background: #F7F0E4; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); color: var(--ink); font-size: 11px; margin: 14px 0 18px; }
.mac-bar { display: flex; gap: 6px; align-items: center; padding: 9px 10px; background: #E9E0D0; border-bottom: 1px solid #DDD2BF; }
.mac-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E46D5A; } .mac-bar i:nth-child(2) { background: #E9B44C; } .mac-bar i:nth-child(3) { background: #6CB46A; }
.mac-bar span { margin-left: 8px; font-weight: 600; opacity: .6; }
.mac-body { display: grid; grid-template-columns: 70px 1fr; min-height: 120px; }
.mac-side { background: #EFE6D7; padding: 10px 8px; display: grid; gap: 6px; align-content: start; }
.mac-side b { display: block; height: 7px; border-radius: 4px; background: rgba(20,32,28,.15); } .mac-side b.on { background: var(--clay); }
.mac-main { padding: 12px; display: grid; gap: 8px; align-content: start; }
.mac-main b { display: block; height: 8px; border-radius: 4px; background: rgba(20,32,28,.12); } .mac-main b.t { height: 12px; width: 60%; background: rgba(20,32,28,.75); } .mac-main b.w80 { width: 80%; }
.mac-main .chip { display: flex; gap: 6px; } .mac-main .chip b { height: 22px; flex: 1; border-radius: 6px; background: rgba(200,100,59,.18); }
.c-code { grid-column: span 3; grid-row: span 2; background: #0F1715; color: #E7EFEA; }
.c-code .scr-code { font-size: 14px; margin-top: auto; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 22px; overflow: hidden; }
.c-plain { grid-column: span 3; grid-row: span 2; background: var(--forest2); color: var(--cream); }
.c-plain .phone, .c-plain .watch, .c-plain .shot { margin: 28px auto 0; }
.c-plain .shot { height: 300px; object-fit: contain; }
.c-ways { grid-column: span 3; background: #fff; border: 1px solid #E8DFD0; }
.c-ways ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; }
.c-ways li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.c-ways li i { width: 30px; height: 30px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; font-style: normal; color: var(--clay); }
.c-next { grid-column: span 3; background: var(--cream); border: 1.5px dashed #CDBFA8; scroll-margin-top: 24px; }
.c-next form { display: flex; gap: 8px; margin-top: auto; background: #fff; padding: 6px; border-radius: 999px; border: 1px solid #E8DFD0; }
.c-next form:focus-within { outline: 2px solid var(--clay); outline-offset: 2px; }
.c-next input { flex: 1; border: 0; background: transparent; padding: 0 16px; font: inherit; outline: none; min-width: 0; }
.c-next button { border: 0; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--forest); color: var(--cream); font-weight: 600; }
.c-next button:disabled { opacity: .6; }
.c-next .notify-error { color: #9A3F1C; opacity: 1; }
.hp { position: absolute; left: -9999px; }

/* Detail page */
.c-details { grid-row: span 2; background: #fff; border: 1px solid #E8DFD0; }
.c-featured + .c-details { grid-column: span 2; }
.c-mac + .c-details { grid-column: span 4; }
.c-code + .c-details, .c-plain + .c-details { grid-column: span 3; }
.c-details dl { margin: 0; display: grid; gap: 14px; }
.c-details dt { font-size: 13px; font-weight: 600; color: var(--mute); }
.c-details dd { margin: 0; font-weight: 500; }
.c-details .links { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.c-details .bt-pill { background: var(--forest); color: var(--cream); }

/* Snow page */
.snow-fall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.snow-hero { position: relative; width: 100%; max-width: 1040px; height: auto; margin: 0 auto; border-radius: 22px 22px 0 0; }
.bt-grid--auto { grid-auto-rows: auto; }
.bt-grid--auto > .bt-card { grid-row: auto; }
.snow-shot { width: 100%; height: auto; margin-top: 26px; border-radius: 14px; }
.c-ways .bt-pill { background: var(--forest); color: var(--cream); margin-top: 24px; align-self: flex-start; }

/* Maker */
.bt-maker { background: var(--forest2); color: var(--cream); border-radius: 40px; padding: 80px; display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.bt-avatar { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(135deg, var(--peach), var(--clay)); color: var(--forest); }
.bt-avatar svg { width: 100%; height: 100%; }
.bt-maker h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; margin: 0 0 18px; }
.bt-maker p { opacity: .78; max-width: 58ch; margin: 0; }

.bt-foot { padding: 110px 0 40px; text-align: center; }
.bt-foot h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 1.05; margin: 0 0 30px; }
.bt-foot h2 span { color: var(--clay); font-family: var(--accent); font-style: italic; font-weight: 400; letter-spacing: 0; }
.bt-foot .bt-pill { background: var(--forest); color: var(--cream); height: 56px; padding: 0 30px; }
.bt-foot small { display: block; margin-top: 80px; color: var(--mute); }

/* Focus */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.bt-hero :focus-visible, .c-mac :focus-visible, .c-code :focus-visible, .c-plain :focus-visible { outline-color: var(--peach); }
.c-featured :focus-visible { outline-color: #3A1A0C; }
.c-next input:focus-visible { outline: none; }

@media (max-width: 991px) {
  .bt-nav ul { display: none; }
  .bt-phones { height: 360px; } .bt-phones .p1, .bt-phones .p3 { display: none; }
  .bt-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bt-grid > * { grid-column: auto !important; grid-row: auto !important; min-height: 260px; }
  .c-featured { padding-bottom: 0; } .c-featured .phone { position: relative; right: auto; top: auto; transform: none; margin: 32px auto -120px; width: 240px; }
  .c-featured .bt-pill { margin-top: 24px; }
  .bt-nav > .bt-pill { display: none; }
  .bt-sec-head { flex-direction: column; align-items: start; }
  .bt-maker { grid-template-columns: 1fr; padding: 44px 28px; }
  .bt-avatar { width: 110px; height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bt-pill { transition: none; }
  .bt-pill:hover { transform: none; }
}

/* Temporary home page; the full home template is retained for launch. */
.holding-hero { min-height: 100svh; border-radius: 0; }
.holding-mark { display: flex; justify-content: center; position: relative; }
.holding-hero .bt-hero-txt { padding-block: clamp(64px, 12vh, 140px); }
