/* The homepage in the app's newer look (2026-11-15): Apple look with a tad of corkboard, the same pale cork, cards and type as app/apple.css.
   Loaded after styles.css and only overrides it: remove the <link> in index.html to get the old look back. */
:root {
  --home-cork: oklch(93.5% 0.03 76);
  --home-cork-2: oklch(90.5% 0.035 74);
  --sep: oklch(18% 0.006 60 / 0.12);
  --muted-2: oklch(18% 0.006 60 / 0.6);
  --r-card: 18px;
  --shadow-soft: 0 1px 2px oklch(18% 0.006 60 / 0.05), 0 10px 26px -18px oklch(18% 0.006 60 / 0.3);
  --shadow-float: 0 1px 2px oklch(18% 0.006 60 / 0.06), 0 22px 48px -24px oklch(18% 0.006 60 / 0.45);
  --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.22 0 0 0 0 0.1 0 0 0 0.2 -0.067'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pin: radial-gradient(circle at 34% 30%, oklch(82% 0.13 45), var(--color-accent) 45%, oklch(48% 0.17 35));
}
body { background: var(--cork-grain), var(--home-cork); }

/* top bar: frosted, sticky, thin line */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); border-bottom: 0.5px solid var(--sep);
  background: oklch(93.5% 0.03 76 / 0.82); background: color-mix(in oklab, var(--home-cork) 74%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
:root { --nav-h: 64px; }
.wordmark { font-size: 1.5rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--color-accent); }
.nav__action { text-decoration: none; font-weight: 500; color: var(--color-ink-2); }
.nav__action:hover { color: var(--color-ink); text-decoration: underline; }
.nav__action:last-child { padding: 8px 14px; border-radius: 999px; background: var(--color-ink); color: var(--color-paper-2); }
.nav__action:last-child:hover { text-decoration: none; background: color-mix(in oklab, var(--color-ink) 86%, var(--color-accent)); }

/* buttons: rounder */
.btn { border-radius: 12px; font-weight: 600; }
.btn--quiet { border-color: transparent; background: var(--color-sheet); box-shadow: 0 0 0 0.5px var(--sep), var(--shadow-soft); }
.btn--quiet:hover { background: var(--color-paper-2); }

/* hero: the cork shows through, the headline does the explaining, the tagline sits above it */
.hero { background: transparent; box-shadow: none; }
.hero h1 { font-size: clamp(2.25rem, min(7.2svh, 6.4vw), 5rem); line-height: 1.02; max-width: 17ch; text-wrap: balance; letter-spacing: -0.035em; }
.hero .lead { max-width: 40ch; color: var(--color-ink-2); text-wrap: pretty; }
/* the board: Apple cards with one small pin each, unit names as little labels */
.group__head { border: 0; border-radius: 10px; background: var(--color-ink); color: var(--color-paper-2); font-weight: 600; box-shadow: var(--shadow-soft); }
.note { border-radius: 14px; background: var(--color-sheet); box-shadow: var(--shadow-float); border: 0; }
.note--sticky { background: oklch(95% 0.04 60); }
.note--form { background: oklch(97% 0.012 230); }
.note::before { width: 12px; height: 12px; background: var(--pin); box-shadow: 0 3px 4px -1px oklch(15% 0.03 40 / 0.6); }
.loopbar { border-radius: 999px; }

.hero { border-bottom: 0.5px solid var(--sep); }

/* "Where your records live now": one short row of five small pinned notes beside the heading, a little crooked, like a real board */
.section--tight { padding-block: clamp(var(--space-xl), 6vw, var(--space-2xl)); }
.section--tight .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.section--tight .head { grid-column: 1 / span 3; }
.section--tight h2 { font-size: var(--text-2xl); letter-spacing: -0.025em; }
.rows { grid-column: 4 / span 9; margin: 0; border: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-sm); }
.rows li { position: relative; display: grid; grid-template-columns: 1fr; align-content: start; gap: 4px; min-height: 0; padding: 22px 14px 14px; border: 0; border-radius: 14px; background: var(--color-sheet); box-shadow: var(--shadow-soft); rotate: var(--tilt, 0deg); }
.rows li::before { content: ""; position: absolute; top: 7px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--pin); box-shadow: 0 2px 3px -1px oklch(15% 0.03 40 / 0.6); }
.rows li:nth-child(1) { --tilt: -1.5deg; } .rows li:nth-child(2) { --tilt: 1deg; } .rows li:nth-child(3) { --tilt: -0.5deg; } .rows li:nth-child(4) { --tilt: 1.5deg; } .rows li:nth-child(5) { --tilt: -1deg; }
.rows h3, .rows p { grid-column: 1; max-width: none; }
.rows h3 { font-size: 1rem; letter-spacing: -0.01em; }
.rows p { font-size: var(--text-sm); line-height: 1.4; color: var(--color-muted); }
/* the turn: one soft card under the scattered notes, pinned straight, the answer to all of them (light, so it never shouts) */
.rows__then { grid-column: 4 / span 9; position: relative; margin-top: var(--space-lg); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--space-md);
  padding: 20px 24px 18px; border-radius: 16px; background: oklch(96.5% 0.03 60); color: var(--color-ink); box-shadow: inset 0 0 0 0.5px oklch(70% 0.12 45 / 0.35), var(--shadow-soft); }
.rows__then::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--pin); box-shadow: 0 2px 3px -1px oklch(15% 0.03 40 / 0.6); }
/* a short line from the notes down to the card */
.rows__then::after { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1px; height: var(--space-lg); background: linear-gradient(transparent, oklch(18% 0.006 60 / 0.35)); }
.rows__then-label { margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--color-accent-soft); color: oklch(45% 0.15 40); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.rows__then-text { margin: 0; max-width: none; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; color: var(--color-ink-2); }
@media (max-width: 64rem) {
  .rows__then { grid-column: 1 / -1; }
  .section--tight .head, .rows { grid-column: 1 / -1; }
  .section--tight .head { margin-bottom: var(--space-lg); }
}
@media (max-width: 40rem) {
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows li:last-child { grid-column: 1 / -1; }
  .rows__then { grid-template-columns: 1fr; row-gap: 10px; justify-items: start; padding: 22px 18px 18px; }
}

/* the six screens: text beside a frame, alternating sides on a computer, stacked on a phone */
.feats { padding-block: var(--space-2xl) var(--section-gap-s); }
.feats__list { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; gap: clamp(var(--space-2xl), 9vw, 136px); }
.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.feat__text { grid-column: 1 / span 4; display: grid; gap: var(--space-sm); }
.feat__text h3 { font-size: var(--text-title); letter-spacing: -0.02em; }
.feat__text p { color: var(--color-muted); max-width: 40ch; }
.feat .frame { grid-column: 5 / span 8; }
.feat:nth-child(even) .feat__text { grid-column: 9 / span 4; grid-row: 1; }
.feat:nth-child(even) .frame { grid-column: 1 / span 8; grid-row: 1; }

/* a frame is a browser window on a computer and a phone on a phone (the pictures switch at the same width) */
.frame { position: relative; margin: 0; overflow: hidden; background: var(--color-sheet); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .frame { aspect-ratio: 1280 / 828; border-radius: 14px; padding-top: 28px; box-shadow: 0 0 0 0.5px var(--sep), var(--shadow-float);
    background: linear-gradient(var(--home-cork-2), var(--home-cork-2)) top / 100% 28px no-repeat, var(--color-sheet); }
  /* three window dots */
  .frame::before { content: ""; position: absolute; top: 10px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: oklch(70% 0.15 30); box-shadow: 14px 0 0 oklch(82% 0.13 85), 28px 0 0 oklch(72% 0.13 145); }
  .frame img { height: calc(100% + 0px); }
}
@media (max-width: 899.98px) {
  .feat, .feat:nth-child(even) { grid-template-columns: 1fr; row-gap: var(--space-lg); }
  .feat .feat__text, .feat:nth-child(even) .feat__text, .feat .frame, .feat:nth-child(even) .frame { grid-column: 1; grid-row: auto; }
  .feat__text { text-align: center; justify-items: center; }
  .frame { justify-self: center; width: min(78vw, 19rem); aspect-ratio: 393 / 852; border: 7px solid var(--color-ink); border-radius: 2.4rem; box-shadow: var(--shadow-float); }
}

/* the founder's note: one paper pinned to the cork */
.founder { padding-block: var(--space-2xl) var(--section-gap-s); }
.founder__note { position: relative; max-width: 40rem; margin-inline: auto; padding: clamp(var(--space-lg), 4vw, var(--space-2xl)); border-radius: var(--r-card); background: var(--color-sheet); box-shadow: var(--shadow-float); rotate: -0.6deg; }
.founder__note::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--pin); box-shadow: 0 3px 4px -1px oklch(15% 0.03 40 / 0.6); }
.founder__note h2 { font-size: var(--text-2xl); letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.founder__note p { color: var(--color-ink-2); line-height: 1.6; max-width: none; }
.founder__note p + p { margin-top: var(--space-sm); }
.founder__sign { font-weight: 600; color: var(--color-ink); }
@media (prefers-reduced-motion: no-preference) { .founder__note { transition: rotate var(--dur-long) var(--ease-out); } .founder__note:hover { rotate: 0deg; } }

/* pricing: a big white sheet on the cork instead of the orange slab */
.price { background: transparent; padding-block: var(--space-xl) var(--section-gap-s); }
/* the sheet keeps the page margins: it is the container itself, narrowed by the gutter on each side */
.price > .container { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); }
.price > .container { background: var(--color-sheet); border-radius: 28px; box-shadow: var(--shadow-float); padding: clamp(var(--space-lg), 5vw, var(--space-3xl)); }
.price__eyebrow { color: var(--color-accent); color: oklch(55% 0.17 40); }
.price h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); letter-spacing: -0.035em; }
.price__lead { font-weight: 400; color: var(--color-ink-2); }
.plan { border: 0; border-radius: var(--r-card); background: var(--home-cork); box-shadow: inset 0 0 0 0.5px var(--sep); }
/* Monthly / Yearly: a segmented switch, like iOS */
.billing { display: inline-flex; gap: 2px; margin-top: var(--space-2xl); padding: 3px; border-radius: 12px; background: var(--home-cork-2); }
.billing__opt { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 9px; font-weight: 600; font-size: var(--text-sm); color: var(--color-ink-2); }
.billing__opt[aria-pressed="true"] { background: var(--color-sheet); color: var(--color-ink); box-shadow: 0 1px 3px oklch(18% 0.006 60 / 0.14); }
.billing__opt:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.billing__save { padding: 2px 8px; border-radius: 999px; background: var(--color-accent-soft); color: oklch(45% 0.15 40); font-size: 0.75rem; }
.billing__soon { margin: var(--space-sm) 0 0; max-width: 46rem; color: var(--color-ink-2); }
.billing + .billing__soon + .plans, .billing + .billing__soon[hidden] + .plans { margin-top: var(--space-lg); }
.plan__soon { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--color-sheet); box-shadow: inset 0 0 0 0.5px var(--sep); font-size: 0.75rem; font-weight: 600; vertical-align: 2px; color: var(--color-ink-2); }
.plan__btn { margin-top: var(--space-md); justify-self: start; }
.plans__paynow { margin: var(--space-md) 0 0; color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 64rem) { .plan__btn { grid-column: 1 / -1; justify-self: stretch; } .plan--talk { grid-template-columns: 1fr; } .plan--talk .plan__price--text { font-size: 1.75rem; } }
.plan__price { color: var(--color-ink); }
.included { border-top: 0.5px solid var(--sep); }
.included li { font-weight: 400; }
.included li::before { border-color: oklch(55% 0.17 40); }
.faq { border-top: 0.5px solid var(--sep); }
.faq details { border-bottom: 0.5px solid var(--sep); }
.faq p { font-weight: 400; color: var(--color-ink-2); }


/* footer: light, on the cork */
.foot { background: transparent; color: var(--color-ink); border-top: 0.5px solid var(--sep); padding-block: var(--space-2xl); }
.foot__line { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); }
.foot small { color: var(--color-muted); }


@media (max-width: 40rem) {
  .hero h1 { font-size: clamp(2rem, 9.5vw, 2.75rem); }
  .rows li { padding-inline: var(--space-md); }
  .price > .container { border-radius: 20px; }
  :root { --gutter: 16px; }
  /* phone top bar: Pricing, Sign in and Create account all fit next to a smaller name */
  .nav__action--wide { display: inline; }
  .nav__right { gap: 12px; }
  .nav__action { font-size: 0.875rem; }
  .nav__action:last-child { padding: 7px 11px; }
  .wordmark { font-size: 1.25rem; gap: 7px; }
  .wordmark::before { width: 11px; height: 11px; border-radius: 3px; }
  .nav .container { column-gap: 10px; }
  /* phone: the two hero buttons stack, and the board's three columns share the screen width instead of running off it */
  .hero .actions, .join__actions { width: 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  /* the very small phone rule in styles.css gives buttons a 100% basis, which in a column means 100% height */
  .hero .actions .btn, .join__actions .btn { flex: none; }
  .board { --cw: calc((100vw - 2 * var(--gutter) - 2 * 8px) / 3); column-gap: 8px; max-width: 100%; }
  .group__head { padding-inline: 8px; font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .note { padding-inline: 8px; }
  .hero { overflow-x: clip; height: auto; padding-bottom: var(--space-xl); }
  .join .container { grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: var(--space-lg); }
  .join .head, .join__actions { grid-column: 1; }
}
/* narrower phones: a little tighter; the very smallest show only the orange square (the link still says Corkdoor to screen readers) */
@media (max-width: 24.5rem) {
  .nav__right { gap: 9px; }
  .nav__action { font-size: 0.8125rem; }
  .nav__action:last-child { padding: 6px 10px; }
  .wordmark { font-size: 1.0625rem; }
}
@media (max-width: 21.5rem) {
  .wordmark { font-size: 0; gap: 0; }
  .wordmark::before { width: 14px; height: 14px; border-radius: 4px; }
}

/* Short term rentals (new 2026-11): one bright card under the hero, a "New" badge, a strip of booked nights like the app's month tiles, four short points */
.str { padding-block: clamp(var(--space-xl), 6vw, var(--space-2xl)) 0; }
.str__card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--space-lg), 4vw, var(--space-2xl)); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: 24px; color: var(--color-ink);
  background: radial-gradient(120% 140% at 0% 0%, oklch(95% 0.06 60), transparent 60%), radial-gradient(90% 120% at 100% 100%, oklch(84% 0.012 60 / 0.9), transparent 58%), var(--color-sheet);
  box-shadow: inset 0 0 0 0.5px oklch(70% 0.12 45 / 0.35), var(--shadow-float); }
.str__card::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--pin); box-shadow: 0 3px 4px -1px oklch(15% 0.03 40 / 0.6); }
.str__badge { display: inline-block; margin: 0 0 var(--space-sm); padding: 5px 12px; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 6px 16px -8px oklch(60% 0.19 40 / 0.9); animation: str-glow 2.6s ease-in-out infinite; }
@keyframes str-glow { 50% { box-shadow: 0 6px 22px -4px oklch(70% 0.19 40 / 0.75); } }
@media (prefers-reduced-motion: reduce) { .str__badge { animation: none; } }
.str h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.str .lead { margin-top: var(--space-md); max-width: 40ch; color: var(--color-ink-2); text-wrap: pretty; }
.str .actions { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.str__strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--space-lg); }
.str__strip span { display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; border-radius: 11px;
  background: linear-gradient(oklch(66% 0.14 200 / calc(var(--o) * 0.85)), oklch(66% 0.14 200 / calc(var(--o) * 0.85))), color-mix(in oklab, var(--color-ink) 5%, transparent); }
.str__strip small { font-size: 0.6875rem; color: var(--color-ink-2); }
.str__strip b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.str__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.str__grid li { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--color-sheet); box-shadow: 0 0 0 0.5px var(--sep), var(--shadow-soft); }
.str__grid b { font-size: 1rem; letter-spacing: -0.01em; }
.str__grid span { font-size: var(--text-sm); line-height: 1.4; color: var(--color-muted); }
@media (max-width: 64rem) { .str__card { grid-template-columns: 1fr; } }
@media (max-width: 40rem) {
  .str__grid { grid-template-columns: 1fr; }
  .str__strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .str .actions .btn { width: 100%; justify-content: center; }
}

.hero__price { margin: 14px 0 0; font-size: var(--text-sm, .9rem); color: var(--color-ink-2); }
.hero__price a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* guides strip (2026-12-04) */
.guides-strip { padding-block: var(--space-xl) var(--section-gap-s); }
.guides-links { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; gap: var(--space-sm); max-width: 44rem; }
.guides-links a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--color-sheet); box-shadow: 0 0 0 0.5px var(--sep), var(--shadow-soft); color: var(--color-ink); font-weight: 600; text-decoration: none; }
.guides-links a:hover { background: var(--color-paper-2); }
.guides-all { margin-top: var(--space-md); }
