/* Itino — itino.co
   Brand: white canvas, doodle pattern, near-black type, coral accent. */

:root {
  --bg: #ffffff;
  --canvas: #faf9f7;
  --ink: #0f0f10;
  --ink-muted: #606065;
  --ink-soft: #8a8a90;
  --stroke: #e6e5e2;
  --stroke-strong: #d3d2ce;
  --accent: #ff6d6d;
  --blue: #a8c4f5;
  --pattern-opacity: 0.09;
  --radius: 18px;
  --maxw: 1080px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --canvas: #171718;
    --ink: #f5f5f4;
    --ink-muted: #a3a3a8;
    --ink-soft: #77777d;
    --stroke: #262628;
    --stroke-strong: #343437;
    --pattern-opacity: 0.06;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Doodle wallpaper, kept far in the background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("pattern.svg");
  background-size: 260px 260px;
  opacity: var(--pattern-opacity);
  pointer-events: none;
  z-index: -1;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--stroke);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand .mark {
  width: 22px;
  height: 22px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero { padding: 84px 0 56px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-muted);
  background: var(--bg);
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 22px 0 0;
}

h1 .accent { color: var(--accent); }

.lede {
  font-size: 19px;
  color: var(--ink-muted);
  margin: 20px 0 0;
  max-width: 30em;
}

.hero-meta {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-size: 13.5px;
  color: var(--ink-muted);
  border: 1px solid var(--stroke);
  background: var(--canvas);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ---------- Phone mockup ---------- */

.phone {
  width: 300px;
  margin: 0 auto;
  border: 10px solid var(--ink);
  border-radius: 40px;
  background: var(--bg);
  padding: 16px 14px 20px;
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.55);
}

.phone-notch {
  width: 92px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.18;
  margin: 0 auto 18px;
}

.phone h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}

.phone .sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 2px 0 16px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--stroke);
}

.timeline li {
  position: relative;
  padding: 0 0 16px 12px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--ink);
}

.timeline li.is-blue::before { border-color: var(--blue); }
.timeline li.is-accent::before { border-color: var(--accent); }

.timeline .time {
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline .title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
}

.phone-footer {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }

.section-head { max-width: 34em; }

h2.section-title {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
}

.section-head p {
  color: var(--ink-muted);
  margin: 12px 0 0;
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 26px 24px;
}

.card .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--canvas);
  border: 1px solid var(--stroke);
  margin-bottom: 16px;
}

.card .icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

/* Contact panel */

.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--canvas);
  padding: 40px;
  text-align: center;
}

.panel h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.03em;
}

.panel p {
  color: var(--ink-muted);
  margin: 12px auto 24px;
  max-width: 36em;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
}

.btn:hover { opacity: 0.85; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0 48px;
  margin-top: 24px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */

.legal { padding: 64px 0 24px; }

.legal .wrap { max-width: 760px; }

.legal h1 {
  font-size: clamp(32px, 4.4vw, 44px);
  margin: 0;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 14px 0 0;
}

.legal h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 44px 0 10px;
}

.legal h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.legal p, .legal li {
  color: var(--ink-muted);
  font-size: 16px;
}

.legal ul { padding-left: 22px; }

.legal li { margin-bottom: 8px; }

.legal strong { color: var(--ink); }

.legal .note {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 28px 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}

.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border: 1px solid var(--stroke);
  color: var(--ink-muted);
}

.legal th {
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
}

.table-scroll { overflow-x: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 32px; }
}

@media (max-width: 620px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; font-size: 14px; }
  .panel { padding: 28px 20px; }
  section { padding: 48px 0; }
}
