:root {
  --ink: #1a1712;
  --paper: #f2ede2;
  --paper-2: #e6dfcd;
  --accent: #b5432c;
  --accent-deep: #8a2f1d;
  --line: rgba(26, 23, 18, 0.16);
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { min-height: 100vh; }
.section-shell { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header { width: min(1280px, calc(100% - 48px)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); color: var(--paper); border-radius: 10px; font: 700 12px ui-monospace, monospace; letter-spacing: -0.04em; }
.brand-name { display: grid; gap: 1px; }
.brand-name small { color: #75705f; font: 600 9px/1.2 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
nav > a { transition: opacity .2s ease; }
nav > a:hover { opacity: .6; }
.nav-cta { display: flex; gap: 12px; align-items: center; border: 1px solid var(--ink); border-radius: 8px; padding: 10px 16px; }

.hero { width: min(1280px, calc(100% - 48px)); min-height: calc(100vh - 88px); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(48px, 6vw, 96px); padding: 68px 0 84px; }
.hero-copy { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; font: 700 12px/1.2 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #57534a; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(56px, 6.4vw, 96px); line-height: .96; letter-spacing: -.02em; font-weight: 600; }
h1 em, .section-heading em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-copy > p { max-width: 560px; margin: 32px 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; color: #4c4a45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 22px; border-radius: 10px; font-weight: 650; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary span { color: var(--accent); font-size: 19px; }
.button-ghost { border: 1px solid var(--line); }
.button-ghost:hover { background: #fff; }

.hero-log { display: flex; flex-direction: column; padding: 26px; background: var(--ink); color: #fff; border-radius: 16px; border: 1px solid #000; }
.log-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #333; font: 700 11px/1 ui-monospace, monospace; letter-spacing: .12em; color: #9a968c; }
.log-head b { color: var(--accent); font-weight: 700; }
.hero-log ul { margin: 0; padding: 0; list-style: none; }
.hero-log li { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid #2b2b2b; }
.hero-log li span { flex: 0 0 auto; color: #6b6a63; font: 700 12px ui-monospace, monospace; }
.hero-log li div { display: grid; gap: 5px; }
.hero-log li strong { font-size: 16px; letter-spacing: -.01em; }
.hero-log li small { color: #928d80; font-size: 12.5px; line-height: 1.4; }
.log-foot { margin: 20px 0 0; color: #83807a; font-size: 12.5px; line-height: 1.5; }

.section-index { display: block; font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .13em; color: #75705f; }
.intro { padding: 130px 0 120px; }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-top: 44px; }
.intro h2 { margin: 0; max-width: 760px; font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.4vw, 66px); line-height: 1.06; letter-spacing: -.015em; }
.intro-copy { border-left: 1px solid var(--line); padding-left: 34px; }
.intro-copy p { margin: 0; color: #524e44; font-size: 17px; line-height: 1.75; }
.intro-copy strong { color: var(--ink); }
.intro-copy a { display: inline-flex; gap: 14px; margin-top: 26px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-weight: 650; }

.ad-placement { width: min(1040px, calc(100% - 48px)); margin: 0 auto 110px; }
.ad-placement--after-products { margin-top: -50px; }
.ad-placement__label { margin: 0 0 9px 3px; color: #75705f; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .16em; }
.ad-placement__surface { min-height: 128px; display: grid; place-items: center; overflow: hidden; contain: layout paint; isolation: isolate; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.4); }
.ad-placement__surface .adsbygoogle { display: block; width: 100%; min-height: 110px; }
.ad-placement__preview { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; color: #6d6961; text-align: left; }
.ad-placement__preview > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.ad-placement__preview div { display: grid; gap: 5px; }
.ad-placement__preview strong { color: #4c4943; font-size: 13px; }
.ad-placement__preview small { font-size: 11px; line-height: 1.4; }

.products { padding-bottom: 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 60px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 5vw, 72px); line-height: .98; text-align: right; letter-spacing: -.015em; }
.product-card { position: relative; min-height: 740px; display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border-radius: 20px; background: #12100c; color: #fff; }
.product-card + .product-card { margin-top: 28px; }
.product-copy { position: relative; z-index: 3; padding: clamp(36px, 4.4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.product-id { display: flex; align-items: center; gap: 15px; }
.product-id img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.product-id div { display: grid; gap: 4px; }.product-id strong { font-size: 16px; }.product-id span { color: #8b877e; font-size: 12px; }
.product-number { position: absolute; top: 30px; right: 36px; color: rgba(255,255,255,.08); font-family: var(--serif); font-size: 78px; line-height: 1; font-weight: 600; }
.product-copy h3 { margin: auto 0 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 4.2vw, 66px); line-height: .98; letter-spacing: -.01em; }
.product-copy > p { margin: 0; max-width: 520px; color: #a8a49a; font-size: 16px; line-height: 1.65; }
.product-copy ul { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 26px 0 28px; padding: 0; list-style: none; border-top: 1px solid #322f28; }
.product-copy li { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #322f28; color: #d2cec3; font-size: 13px; }
.product-copy li span { color: var(--accent); }
.product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 220px; min-height: 50px; padding: 0 18px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 650; transition: transform .15s ease; }
.product-link:hover { transform: translateY(-2px); }
.release-note { margin-top: 14px; color: #766f5f; font-size: 11px; line-height: 1.4; }

.remote-card { background: #12100c; }
.remote-stage { position: relative; overflow: hidden; min-height: 740px; background: #26221b; background-image: radial-gradient(rgba(242,237,226,.14) 1px, transparent 1px); background-size: 22px 22px; }
.phone { position: absolute; overflow: hidden; padding: 6px; background: #0c0b09; border: 1px solid #35322a; border-radius: 26px; box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.phone > span { position: absolute; z-index: 2; top: 11px; left: 50%; width: 34%; height: 7px; transform: translateX(-50%); background: #0a0a08; border-radius: 99px; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.remote-stage .phone { width: 220px; height: 456px; top: 50%; left: 50%; }
.phone-main { z-index: 3; transform: translate(-50%,-49%) scale(1.1); }
.phone-left { z-index: 2; transform: translate(-112%,-46%) rotate(-7deg) scale(.9); }
.phone-right { z-index: 1; transform: translate(12%,-44%) rotate(7deg) scale(.86); }
.stage-label { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; padding: 11px 15px; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.stage-label b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff; }
.stage-label span { display: grid; gap: 2px; font-size: 12.5px; font-weight: 700; }.stage-label small { color: #766f5f; font-size: 10px; font-weight: 550; }
.label-keyboard { top: 12%; left: 6%; }.label-mibox { right: 6%; bottom: 13%; }

.m3u-card { grid-template-columns: 1.12fr .88fr; background: #14120e; }
.m3u-stage { position: relative; min-height: 740px; overflow: hidden; background: #d6d0c1; background-image: radial-gradient(rgba(26,23,18,.09) 1px, transparent 1px); background-size: 22px 22px; }
.m3u-stage .phone { width: 250px; height: 516px; top: 50%; left: 50%; }
.m3u-phone-back { transform: translate(-91%,-46%) rotate(-8deg); }.m3u-phone-front { z-index: 2; transform: translate(-28%,-51%) rotate(4deg); }
.privacy-pill { position: absolute; z-index: 4; left: 10%; bottom: 9%; display: flex; align-items: center; gap: 10px; padding: 13px 17px; background: var(--ink); color: #fff; border-radius: 10px; font-size: 12px; font-weight: 650; }
.privacy-pill b { color: var(--accent); }
.m3u-card .product-link { background: var(--ink); border: 1px solid #322f28; }

.principles { padding: 130px 0; background: var(--ink); color: #fff; }
.light-heading .section-index { color: #7a766c; }.light-heading h2 em { color: var(--accent); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid #322f28; background: #322f28; }
.principle-grid article { min-height: 260px; padding: 32px; display: flex; flex-direction: column; background: #1a1712; }
.principle-grid article > span { color: var(--accent); font: 700 11px ui-monospace, monospace; }
.principle-grid b { margin-top: auto; font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.principle-grid p { margin: 14px 0 0; color: #a8a49a; line-height: 1.6; font-size: 14.5px; }

.founder { padding: 130px 0; max-width: 820px; }
.founder h2 { margin: 30px 0 24px; font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.015em; }
.founder > p { max-width: 680px; color: #524e44; font-size: 18px; line-height: 1.7; }
.founder-meta { display: grid; grid-template-columns: repeat(3,1fr); max-width: 480px; margin-top: 44px; border-top: 1px solid var(--line); }
.founder-meta div { display: grid; gap: 7px; padding: 20px 15px 0 0; }.founder-meta span { color: #75705f; font: 700 10px ui-monospace,monospace; text-transform: uppercase; }.founder-meta b { font-size: 14px; }

.contact { padding: 60px 0 130px; border-top: 1px solid var(--line); }
.contact h2 { margin: 26px 0 32px; font-family: var(--serif); font-weight: 600; font-size: clamp(42px,5.4vw,78px); line-height: 1.04; letter-spacing: -.015em; }
.contact h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
.contact > a { display: inline-flex; gap: 18px; align-items: center; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: clamp(18px,2vw,26px); font-weight: 650; }
.contact > a span { color: var(--accent); }

.site-footer { min-height: 120px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); color: #68645d; font-size: 12px; }
.site-footer > div:nth-child(2) { text-align: center; }.footer-links { display: flex; justify-content: flex-end; gap: 22px; font-weight: 650; }

.legal-page { overflow: visible; }
.legal-header > .nav-cta { display: flex; }
.legal-content { max-width: 920px; padding: 100px 0 140px; }
.legal-content h1 { margin: 26px 0 40px; font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
.legal-content h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.legal-lead { max-width: 760px; margin: 0 0 64px; color: #4c4a45; font-size: clamp(19px, 2vw, 26px); line-height: 1.55; }
.legal-content section { display: grid; grid-template-columns: minmax(170px, .36fr) 1fr; gap: 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.legal-content section h2 { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.legal-content section p { margin: 0; color: #524e44; font-size: 15.5px; line-height: 1.75; }
.legal-content section a { color: var(--accent-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin: 50px 0 0; color: #75705f; font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: var(--paper); }
.not-found section { width: min(640px, 100%); }
.not-found b { font-family: var(--serif); font-size: clamp(70px,16vw,150px); letter-spacing: -.02em; }
.not-found h1 { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(32px,7vw,58px); line-height: 1.05; }
.not-found a { display: inline-block; margin-top: 22px; padding: 13px 19px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 650; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }.intro-copy { max-width: 700px; }
  .product-card, .m3u-card { grid-template-columns: 1fr; }.remote-stage, .m3u-stage { min-height: 680px; }.m3u-card .m3u-stage { order: 2; }
  .product-copy h3 { margin-top: 90px; }
  .founder-meta { grid-template-columns: 1fr; max-width: 320px; }.founder-meta div { padding-bottom: 12px; }
}
@media (max-width: 760px) {
  .section-shell, .site-header, .hero { width: min(100% - 32px, 1280px); }
  .site-header { height: 74px; }.brand-name small { display: none; }nav a:not(.nav-cta) { display: none; }.nav-cta { padding: 9px 14px; font-size: 12px; }
  .hero { min-height: auto; padding: 46px 0 76px; }
  .intro { padding: 96px 0; }.intro-grid { margin-top: 28px; }.intro-copy { padding-left: 20px; }
  .ad-placement { width: min(100% - 32px, 1040px); margin-bottom: 76px; }.ad-placement--after-products { margin-top: -60px; }.ad-placement__surface { min-height: 108px; border-radius: 12px; }
  .section-heading { display: block; }.section-heading h2 { margin-top: 26px; text-align: left; }
  .product-card { min-height: auto; border-radius: 16px; }.product-copy { padding: 30px 22px 36px; }.product-copy h3 { margin-top: 84px; }.product-copy ul { grid-template-columns: 1fr; }.product-number { font-size: 56px; right: 22px; }.remote-stage, .m3u-stage { min-height: 560px; }
  .remote-stage .phone { width: 170px; height: 352px; }.m3u-stage .phone { width: 195px; height: 402px; }.stage-label { transform: scale(.82); }.label-keyboard { left: -2%; }.label-mibox { right: -3%; }
  .principles { padding: 96px 0; }.principle-grid { grid-template-columns: 1fr; }.principle-grid article { min-height: 210px; }
  .founder { padding: 96px 0; }
  .contact { padding: 50px 0 96px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 0; }.site-footer > div:nth-child(2) { display: none; }
  .legal-content { padding: 72px 0 100px; }.legal-content section { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(46px,15vw,64px); }.hero-copy > p { font-size: 17px; }.button { width: 100%; }
  .intro h2 { font-size: 38px; }.section-heading h2 { font-size: 44px; }
  .remote-stage, .m3u-stage { min-height: 480px; }.remote-stage .phone { width: 138px; height: 286px; }.m3u-stage .phone { width: 160px; height: 330px; }
  .product-id img { width: 52px; height: 52px; }.product-copy h3 { font-size: 42px; }.phone { border-radius: 20px; }.phone img { border-radius: 15px; }
  .founder-meta { grid-template-columns: 1fr; }.contact > a { word-break: break-all; }
  .ad-placement__preview { gap: 12px; padding: 20px 16px; }.ad-placement__preview small { max-width: 220px; }.legal-content h1 { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
