/* Tide & Tent — tideandtent.app. No scripts, no cookies, fonts served from this site. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The ampersand comes from the phone's own sans-serif: Archivo's stylised one reads like an "Et" */
@font-face {
  font-family: "Amp";
  font-weight: 100 549;
  src: local("Roboto"), local("Roboto-Regular"), local("Helvetica Neue"), local("Arial"), local("ArialMT"),
    local("Segoe UI"), local("DejaVu Sans"), local("Liberation Sans");
  unicode-range: U+0026;
}
@font-face {
  font-family: "Amp";
  font-weight: 550 900;
  src: local("Roboto Bold"), local("Roboto-Bold"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"),
    local("Arial Bold"), local("Arial-BoldMT"), local("Segoe UI Bold"), local("DejaVu Sans Bold"),
    local("Liberation Sans Bold");
  unicode-range: U+0026;
}

/* Sea glass by day, the app's night green after dark */
:root {
  --bg: #edf4ef;
  --band: #e1ece5;
  --ink: #0b2a20;
  --muted: #4a6a5d;
  --accent: #0e7c61;
  --line: #c2d8cc;
  --frame: #0b2a20;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06170f;
    --band: #0b231a;
    --ink: #e6f7ee;
    --muted: #9fc6b5;
    --accent: #4fe3b1;
    --line: #1f4537;
    --frame: #2b5a48;
    color-scheme: dark;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Amp", "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: 0.5rem 0.75rem; z-index: 10; }

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-head { padding-block: 1.1rem; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none;
  font-weight: 760; font-stretch: 112%; font-size: 1.1rem; letter-spacing: 0.005em; }
.brand img { width: 2rem; height: 2rem; border-radius: 0.55rem; }
.site-head nav { display: flex; gap: 1.25rem; font-size: 0.98rem; }
.site-head nav a { color: var(--ink); text-decoration: none; font-weight: 520; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { text-decoration: underline; }

/* Type */
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4rem); font-weight: 820; font-stretch: 118%; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 780; font-stretch: 114%; letter-spacing: -0.005em; }
h3 { font-size: 1.32rem; font-weight: 740; font-stretch: 108%; }
p { margin: 0.75rem 0 0; max-width: 62ch; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); max-width: 34em; margin-top: 1.25rem; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding-block: 2.5rem 3.5rem; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; margin-top: 1.75rem; }
.soon { display: inline-block; padding: 0.7rem 1.15rem; border: 2px solid var(--ink); border-radius: 0.8rem;
  font-weight: 680; font-stretch: 106%; line-height: 1.2; }
.store p { margin: 0; color: var(--muted); }
.phone { margin: 0; justify-self: center; width: min(19.5rem, 82vw); }
.phone img { border-radius: 1.6rem; border: 1px solid var(--frame); }
.phone figcaption { margin-top: 0.75rem; font-size: 0.92rem; color: var(--muted); }

/* The weekend, in order */
.trip { padding-block: 3rem 2rem; border-top: 1px solid var(--line); }
.trip > .wrap > p { color: var(--muted); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0.45rem; top: 0.6rem; bottom: 0.6rem; width: 2px;
  background: var(--line); }
.step { position: relative; padding-left: 2.25rem; padding-bottom: 3.25rem; }
.step:last-child { padding-bottom: 0.5rem; }
.step::before { content: ""; position: absolute; left: 0; top: 0.4rem; width: 0.95rem; height: 0.95rem;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.when { margin: 0 0 0.35rem; font-stretch: 78%; font-weight: 640; font-size: 1.02rem; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.step .shot { margin: 1.25rem 0 0; width: min(17.5rem, 76vw); }
.step .shot img { border-radius: 1.4rem; border: 1px solid var(--frame); }

/* Price and data */
.facts { padding-block: 3rem 3.5rem; background: var(--band); }
.facts .wrap { display: grid; gap: 2.5rem; }
.facts p { max-width: 40ch; }

/* Footer */
.site-foot { padding-block: 2.5rem 3rem; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 1.5rem; }
.site-foot p { margin: 0; max-width: 70ch; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.site-foot a { color: var(--ink); }

/* Text pages: privacy, help */
.doc { padding-block: 2rem 4rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.doc .updated { color: var(--muted); margin-top: 0.75rem; }
.doc .lang { margin-top: 0.5rem; }
.doc h2 { font-size: 1.45rem; font-stretch: 110%; margin-top: 2.6rem; }
.doc h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.doc ul { padding-left: 1.2rem; margin: 0.75rem 0 0; max-width: 62ch; }
.doc li { margin-top: 0.45rem; }
.doc .summary { margin-top: 1.75rem; padding: 1.1rem 1.25rem 1.25rem; background: var(--band); border-radius: 0.9rem; }
.doc .summary ul { margin-top: 0.25rem; }
.doc table { border-collapse: collapse; width: 100%; margin-top: 1rem; font-size: 0.97rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 680; font-stretch: 104%; }
.doc address { font-style: normal; margin-top: 0.75rem; }
.doc td { overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc tr { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .doc td { border: 0; padding: 0.1rem 0; }
  .doc td:first-child { font-weight: 680; font-stretch: 104%; }
  .doc td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
}

@media (min-width: 52rem) {
  .hero { padding-block: 3.5rem 4.5rem; }
  .hero .wrap { grid-template-columns: 1.25fr 0.75fr; gap: 3.5rem; }
  .phone { width: 20rem; }
  .steps::before { left: 10.45rem; }
  .step { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 15.5rem; grid-template-rows: auto auto 1fr;
    column-gap: 3.25rem; padding-left: 0; padding-bottom: 3.75rem; }
  .step::before { left: 10rem; }
  .step .when { grid-column: 1; grid-row: 1 / span 3; text-align: right; margin: 0.1rem 0 0; font-size: 1.08rem; }
  .step h3, .step .text { grid-column: 2; }
  .step .shot { grid-column: 3; grid-row: 1 / span 3; margin: 0; width: 100%; }
  .facts .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .site-foot .wrap { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .site-foot nav { justify-content: flex-end; }
}

@media print {
  .site-head nav, .skip { display: none; }
  body { background: #fff; color: #000; }
}
