/* K6N demos. Project colours stay inside that project's own device. */
.js .proj .js-only.hint, .js .yours.js-only, .js .maker-ctl.js-only, .js .lock-say .js-only { display: block !important; }
.js .seg.js-only, .js .s-tabs.js-only { display: flex !important; }
.js .textbtn.js-only { display: inline-block !important; }
.cap { margin-top: 18px; font-size: 15px; color: var(--mute-l); }
.dark .cap { color: var(--mute-d); }
.cap a { display: flex; align-items: center; width: fit-content; min-height: 44px; }
.dark .cap a { color: var(--paper); }

/* Solid logo */
.hero-mark { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-mark.is-3d { cursor: grab; }
.hero-mark.is-3d:active { cursor: grabbing; }
.hero-mark.is-3d svg { opacity: 0; }
.mark3d { position: absolute; max-width: none; pointer-events: none; }
.hero-foot { position: relative; pointer-events: none; }
.hero-foot a { pointer-events: auto; }

/* Project tabs are for phones only (phone.css shows them) */
.js .proj-tabs.js-only { display: none !important; }

/* Segmented buttons */
.seg { display: flex; width: fit-content; border: 2px solid currentColor; }
.seg button { min-height: 44px; padding: 8px 16px; border: 0; background: none; font-size: 16px; }
.seg button + button { border-left: 2px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:focus-visible { outline-offset: -6px; }

/* Projects */
.proj { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 96px); scroll-margin-top: calc(var(--bar) + 16px); }
.proj > * { min-width: 0; }
.proj-name { font-family: var(--wide); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.01em; }
.proj-tag { margin: 10px 0 18px; font-size: 15px; color: var(--mute-l); }
.hint { margin-top: 24px; padding-top: 18px; border-top: 3px solid var(--ink); font-weight: 600; min-height: 5.4em; }
.proj-link { display: inline-flex; align-items: center; min-height: 48px; }
.stage { background: var(--paper2); padding: clamp(20px, 3.4vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 24px; }

.device { position: relative; background: #000; border: 8px solid #000; overflow: hidden; color: var(--paper); font-size: 16px; line-height: 1.35; width: 100%; }
.phone { max-width: 320px; border-radius: 44px; }
.tablet { max-width: 440px; border-radius: 28px; }
.dev-label { padding: 12px 22px 0; font-size: 14px; color: var(--mute-d); background: #111; }
.dev-in { display: flex; flex-direction: column; padding: 16px 20px 22px; background: #111; outline-offset: -6px; }
.device :focus-visible { outline-offset: -4px; }
.device small { display: block; font-size: 14px; font-weight: 400; }

/* Holdr */
.h-phone .dev-in, .h-cafe .dev-in { min-height: 318px; }
.h-cafe { color: var(--ink); }
.h-cafe .dev-label { background: #fff; color: var(--mute-l); }
.h-cafe .dev-in { background: #fff; }
.h-logo, .c-name { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.h-sub { margin: 4px 0 14px; color: var(--mute-d); }
.h-cafe .h-sub { color: var(--mute-l); }
.h-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-d); }
.js .h-row { grid-template-columns: 1fr auto auto; }
.h-row small { color: var(--mute-d); }
.h-min { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-a { color: #5CC98A; } .w-b { color: #F0AE4B; } .w-c { color: #FF8B78; }
.h-join, .h-btn { border: 0; border-radius: 24px; background: #fff; color: #111; font-weight: 600; min-height: 44px; padding: 8px 16px; }
.h-btn { min-height: 50px; width: 100%; }
.h-cafe .h-btn { background: #111; color: #fff; }
.h-btn:disabled { background: var(--paper2); color: var(--mute-l); cursor: default; }
.h-low { margin-top: auto; }
.h-pos { font-size: 76px; font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.h-big { font-size: 24px; font-weight: 600; margin: 8px 0 20px; }
.h-ready { font-size: 46px; font-weight: 600; line-height: 1.04; letter-spacing: -.03em; margin: 8px 0 20px; color: #5CC98A; }
.c-list { margin-bottom: 18px; }
.c-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line-l); }
.c-you { background: #111; color: #fff; }

/* Scent Atlas */
.s-phone img { width: 100%; }
.s-tabs { position: absolute; left: 4%; right: 4%; bottom: 1.6%; height: 7.6%; min-height: 46px; }
.s-tabs button { flex: 1; min-width: 0; border: 0; background: none; border-radius: 24px; color: var(--ink); }
.s-tabs button:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

/* Amenease */
.a-phone { color: #fff; }
.a-phone .dev-in { background: #163F33; min-height: 480px; padding: 24px 20px; }
.a-top { font-size: 14px; color: #E9C885; }
.a-title { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: 26px; }
.a-sub { margin: 4px 0 18px; color: #C9DAD2; }
.a-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.a-slot { min-height: 68px; padding: 10px 14px; border: 2px solid #4F7A6B; border-radius: 16px; background: none; color: #fff; font-weight: 600; text-align: left; }
.a-slot small { color: #C9DAD2; }
.a-slot:disabled { cursor: default; }
.a-slot.is-picked, .a-slot.is-yours { background: #D9A441; border-color: #D9A441; color: #163F33; }
.a-slot.is-picked small, .a-slot.is-yours small { color: #163F33; }
.a-slot.is-taken { border-style: dashed; color: #C9DAD2; }
.a-btn { margin-top: auto; min-height: 52px; border: 2px solid #fff; border-radius: 26px; background: #fff; color: #163F33; font-weight: 600; }
.a-btn:disabled { background: none; border-color: #4F7A6B; color: #C9DAD2; cursor: default; }
.a-line { background: none; color: #fff; }

/* Your business */
.yours { border-bottom: 1px solid var(--line-d); }
.yours-in { display: grid; gap: 48px; align-items: end; }
.yours-in > * { min-width: 0; }
.biz { width: 100%; margin: clamp(24px, 3vw, 40px) 0 16px; padding: 10px 0 14px; border: 0; border-bottom: 3px solid var(--paper); border-radius: 0; background: none; color: var(--paper); font: 600 clamp(26px, 3.4vw, 48px)/1.2 Archivo, Arial, sans-serif; }
.biz::placeholder { color: #7E848C; opacity: 1; }
.biz:focus-visible { outline: none; border-bottom-color: var(--hot); box-shadow: 0 3px 0 var(--hot); }
.yours-go { margin-top: 12px; }
.yours-go a { display: inline-block; padding: 10px 0; }
#code-label { overflow-wrap: anywhere; min-height: 1.5em; }
.bigcode { display: flex; font-family: var(--wide); font-size: min(21vw, 176px); line-height: 1; letter-spacing: -.02em; min-height: 1em; }
.bigcode i { font-style: normal; color: var(--hot); }

/* Sample website */
.maker-ctl .seg { margin-bottom: 10px; }
.frame-bed { background: var(--paper2); padding: clamp(10px, 2vw, 28px); margin-top: 10px; }
.frame { margin: 0 auto; width: 100%; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; transition: max-width .6s var(--ease); max-width: 1100px; container-type: inline-size; }
.frame[data-size="phone"] { max-width: 330px; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--ink); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-d); }
.mini { --bg: #111; --fg: #fff; display: flex; flex-direction: column; min-height: 520px; background: var(--bg); color: var(--fg); line-height: 1.3; font-size: 15px; position: relative; }
.mini-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; position: relative; z-index: 1; }
.mini-nav b { font-size: 18px; overflow-wrap: anywhere; line-height: 1.15; }
.mini-links { display: none; gap: 20px; flex: none; }
.mini-hero { display: flex; flex-direction: column; flex: 1; }
.mini-hero img { width: 100%; height: 100%; object-fit: cover; }
.mini-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
.mini-h { font-size: 34px; line-height: 1.04; text-wrap: balance; }
.mini-p { max-width: 30em; }
.mini-btn { display: inline-block; margin-top: 4px; padding: 11px 18px; background: var(--fg); color: var(--bg); font-weight: 600; }
.mini-items { display: grid; }
.mini-items span { padding: 12px 20px; border-top: 1px solid currentColor; }

[data-look="bold"] .mini-hero { position: absolute; inset: 0 0 132px; }
[data-look="bold"] .mini-hero img { position: absolute; inset: 0; }
[data-look="bold"] .mini-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 13, 15, .5); }
[data-look="bold"] .mini-copy { margin-top: auto; position: relative; z-index: 1; }
[data-look="bold"] .mini-nav { z-index: 2; }
[data-look="bold"] .mini-h { font-family: var(--wide); text-transform: uppercase; font-size: 30px; letter-spacing: -.01em; }
[data-look="bold"] .mini-nav b { font-family: var(--wide); font-weight: 400; text-transform: uppercase; }
[data-look="bold"] .mini-items { margin-top: auto; height: 132px; grid-template-rows: repeat(3, 44px); background: var(--bg); }
[data-look="bold"] .mini-items span { border-color: #3A3E45; display: flex; align-items: center; padding-block: 0; }

[data-look="calm"] .mini { --bg: #F6F7F4; --fg: #26302B; }
[data-look="calm"] .mini-nav b, [data-look="calm"] .mini-h { font-family: "Iowan Old Style", Palatino, Georgia, serif; font-weight: 400; }
[data-look="calm"] .mini-h { font-size: 40px; letter-spacing: -.01em; }
[data-look="calm"] .mini-hero img { height: 230px; }
[data-look="calm"] .mini-btn { background: none; color: var(--fg); border: 1px solid; font-weight: 400; }
[data-look="calm"] .mini-items span { border-color: #C9D0CA; }

[data-look="bright"] .mini { --fg: #fff; --bg: #C7401F; }
[data-look="bright"][data-kind="clinic"] .mini { --bg: #1D5FD6; }
[data-look="bright"][data-kind="store"] .mini { --bg: #0F6B45; }
[data-look="bright"] .mini-h { font-weight: 600; font-size: 42px; letter-spacing: -.035em; line-height: .98; }
[data-look="bright"] .mini-hero img { height: 220px; width: calc(100% - 32px); margin: 0 16px; border-radius: 28px; }
[data-look="bright"] .mini-btn { border-radius: 24px; }
[data-look="bright"] .mini-items { padding: 4px 16px 18px; gap: 8px; }
[data-look="bright"] .mini-items span { border: 0; border-radius: 16px; background: #fff; color: #111; padding: 10px 16px; font-weight: 600; }

@container (min-width: 520px) {
  .mini { min-height: 560px; }
  .mini-nav { padding: 20px 28px; }
  .mini-links { display: flex; }
  .mini-items { grid-template-columns: repeat(3, 1fr); }
  .mini-items span { padding: 18px 28px; }
  .mini-copy { padding: 28px; gap: 14px; }
  [data-look="bold"] .mini-hero { inset: 0 0 60px; }
  [data-look="bold"] .mini-items { height: 60px; grid-template-rows: 60px; }
  [data-look="bold"] .mini-h { font-size: clamp(34px, 8.2cqw, 74px); line-height: .98; }
  [data-look="calm"] .mini-hero, [data-look="bright"] .mini-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  [data-look="calm"] .mini-copy, [data-look="bright"] .mini-copy { order: -1; justify-content: center; }
  [data-look="calm"] .mini-hero img { height: 400px; }
  [data-look="calm"] .mini-h { font-size: clamp(38px, 6.6cqw, 60px); }
  [data-look="bright"] .mini-hero img { height: 360px; width: calc(100% - 28px); margin: 0 28px 0 0; }
  [data-look="bright"] .mini-h { font-size: clamp(40px, 7cqw, 66px); }
  [data-look="bright"] .mini-items { padding: 20px 28px 28px; }
}

/* Call */
.js .no-js { display: none; }
.js .live.js-only { display: block !important; }
[data-call="en"] + [data-call="hi"] { margin-top: 28px; }
.bars { display: flex; align-items: center; gap: 3px; height: 72px; margin: 18px 0 10px; }
.bars i { flex: 1; min-width: 0; height: 6%; background: #6A7079; transition: height .25s var(--ease); }
.bars i.on { background: var(--hot); }
.live-t { font-weight: 600; min-height: 2.2em; }
.js .live-log { min-height: 0; height: 156px; overflow-y: auto; padding: 16px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); justify-content: flex-start; }
.live-idle { height: 156px; padding: 24px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); display: flex; align-items: center; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.28; }
.say-row { display: flex; flex-wrap: wrap; gap: 8px; min-height: 108px; align-content: flex-start; margin-top: 18px; }
.live-foot { display: flex; gap: 28px; min-height: 44px; margin-top: 8px; }
#live-notes { margin: 8px 0 12px; }

/* Notifications */
.lock-wrap { display: grid; gap: 28px; justify-items: center; align-items: center; background: var(--ink2); padding: clamp(20px, 3.4vw, 56px); }
.lock { height: 600px; display: flex; flex-direction: column; padding: 48px 12px 14px; }
.lock-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.lock-time { position: relative; text-align: center; font-size: 76px; font-weight: 600; line-height: 1; letter-spacing: -.04em; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.notes { position: relative; display: grid; gap: 8px; }
.noti { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 13px 14px; border-radius: 20px; background: rgba(243, 244, 242, .94); color: var(--ink); line-height: 1.3; font-size: 15px; }
.noti b { display: block; overflow-wrap: anywhere; }
.noti-i { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--wide); font-size: 22px; line-height: 1; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px) scale(.96); } }
.noti.in { animation: drop .45s var(--ease); }
.lock-say { width: 100%; max-width: 320px; }
.dark .asks-t { color: var(--mute-d); }
.dark .ask { border-color: var(--paper); }
@media (hover: hover) { .dark .ask:hover { background: var(--paper); color: var(--ink); } }

.chat-name { display: block; font-size: 22px; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; margin-bottom: 2px; }
.tile-hot { overflow-wrap: anywhere; }

@media (min-width: 700px) {
  .stage-2 { flex-direction: row; justify-content: center; align-items: center; }
  .h-phone .dev-in, .h-cafe .dev-in { min-height: 404px; }
  .js .live-log, .live-idle { height: 264px; }
  .bars { height: 92px; margin: 24px 0 14px; }
  .h-pos { font-size: 104px; margin-top: 26px; }
  .h-ready { margin-top: 26px; }
  .stage-2 .h-phone { flex: 0 1 320px; }
  .stage-2 .h-cafe { flex: 0 1 400px; }
  .lock-wrap { grid-template-columns: auto 1fr; }
  .lock { width: 320px; }
}
@media (min-width: 1000px) {
  .proj { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
  .proj-flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .proj-flip .stage { order: -1; }
  .bigcode { font-size: min(10vw, 176px); }
  .yours-in { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 128px); }
  #websites .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 88px); }
}
@media (min-width: 1300px) {
  .js .maker-ctl.js-only { display: flex !important; flex-wrap: wrap; gap: 10px; }
  .maker-ctl .seg { margin: 0; }
}
