@font-face {
  font-family: "Aplika Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/sans-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: "Aplika Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Aplika Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/sans-georgian.woff2") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #0e1218;
  --ink-2: #2a303a;
  --muted: #5b626e;
  --line: #e1e4e9;
  --line-strong: #cdd2d9;
  --accent: #2d55f0;
  --accent-hover: #1f43d1;
  --dark: #0b0f17;
  --dark-2: #121826;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-muted: #a1a9b8;

  --container: 1312px;
  --pad: clamp(20px, 5vw, 64px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(88px, 9vw, 144px);
  --radius: 14px;

  --font: "Aplika Sans", "Noto Sans Georgian", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, dl, dd, figure {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Layout */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* Type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.2;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.eyebrow-light {
  color: var(--dark-muted);
}

.eyebrow-light::before {
  background: #6f8cff;
}

:lang(en) .eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  font-size: clamp(38px, 4.5vw, 70px);
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

:lang(ka) h1 {
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(30px, 2.9vw, 46px);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

:lang(ka) h2 {
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

h3 {
  font-weight: 640;
  letter-spacing: -0.02em;
}

:lang(ka) h3 {
  letter-spacing: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(45, 85, 240, 0.7);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #262d38;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #e6e9ef;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 8px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--dark-line);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.lang-switch button {
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch button:hover {
  color: #fff;
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }

.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -73px;
  padding-top: calc(73px + clamp(56px, 7vw, 112px));
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(45, 85, 240, 0.32), transparent 65%),
    radial-gradient(700px 500px at 10% 100%, rgba(45, 85, 240, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.hero-grid {
  align-items: center;
}

.hero-copy {
  grid-column: 1 / span 6;
  padding-bottom: 24px;
}

.lead {
  max-width: 560px;
  margin-top: 28px;
  color: var(--dark-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: var(--dark-muted);
  font-size: 14px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: #6f8cff;
  flex: none;
}

.hero-visual {
  grid-column: 7 / span 6;
  position: relative;
  aspect-ratio: 1 / 0.92;
  margin-bottom: -12%;
}

.hero-glow {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 20%;
  bottom: 10%;
  border-radius: 50%;
  background: rgba(45, 85, 240, 0.35);
  filter: blur(70px);
}

.phone {
  position: relative;
  padding: 7px;
  border-radius: 36px;
  background: linear-gradient(145deg, #2a3140, #0d1118 40%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 12px 24px -12px rgba(0, 0, 0, 0.35);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 29px;
  background: #1a1f29;
}

.hero-visual .phone {
  position: absolute;
}

.phone-front {
  left: 50%;
  top: 0;
  width: 40%;
  z-index: 3;
  transform: translateX(-50%);
}

.phone-back {
  top: 11%;
  width: 34%;
  z-index: 2;
  opacity: 0.92;
}

.phone-left { left: 2%; }
.phone-right { right: 2%; }

.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--dark-line);
  z-index: 4;
}

.facts li {
  display: flex;
  gap: 16px;
  padding: 36px 32px 48px 0;
}

.facts li + li {
  padding-left: 32px;
  border-left: 1px solid var(--dark-line);
}

.fact-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(111, 140, 255, 0.12);
  color: #8ea4ff;
}

.fact-icon svg,
.principle-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-title {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 620;
}

.facts p:not(.fact-title) {
  max-width: 340px;
  color: var(--dark-muted);
  font-size: 15px;
}

/* Sections */

.section {
  padding: var(--section) 0;
}

.section-head {
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 80px);
}

.section-head-main {
  grid-column: 1 / span 6;
}

.section-intro {
  grid-column: 8 / span 5;
  color: var(--muted);
  font-size: 18px;
}

/* Products */

.product {
  align-items: center;
  padding: clamp(40px, 4vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.product:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.product-copy {
  grid-column: 1 / span 5;
}

.product-visual {
  grid-column: 7 / span 6;
}

.product-reverse .product-copy {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.product-reverse .product-visual {
  grid-column: 1 / span 6;
  grid-row: 1;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px -8px rgba(14, 18, 24, 0.4);
}

.product-icon-parking {
  background: linear-gradient(150deg, #24324d, #0f1626);
  color: #ff5a4f;
  font-size: 26px;
}

.product-icon-bb {
  background: linear-gradient(150deg, #3b62ff, #1a35b8);
  font-size: 18px;
}

.product-num {
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.product-cat {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.product-copy h3 {
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.1;
}

.product-desc {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.6;
}

.features {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.features li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.5;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(45, 85, 240, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%232d55f0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-meta dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.product-meta dd {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 520;
}

.product-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6%;
  aspect-ratio: 6 / 5;
  padding: 9% 10% 0;
  overflow: hidden;
  border-radius: 24px;
}

.product-visual .phone {
  width: 40%;
  flex: none;
  align-self: flex-start;
}

.product-visual .phone-offset {
  margin-top: 12%;
}

.visual-tindoger {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(150deg, #f0b27a, #c46c35);
}

.visual-parking {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 90, 79, 0.28), transparent 50%),
    linear-gradient(160deg, #1e2a42, #0b111d);
}

.visual-bb {
  align-items: center;
  padding: 7%;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(150deg, #3b62ff, #142a99);
}

.bb-card {
  width: 100%;
  max-width: 520px;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(5, 12, 50, 0.6);
  font-size: 14px;
}

.bb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-weight: 620;
  font-size: 15px;
}

.bb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f6ee;
  color: #12804a;
  font-size: 12px;
  font-weight: 600;
}

.bb-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.bb-hours {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.bb-bar {
  display: flex;
  gap: 3px;
  height: 36px;
}

.seg {
  border-radius: 6px;
}

.seg-on,
.dot-on { background: var(--accent); }

.seg-off,
.dot-off { background: #e6e9ef; }

.seg-break,
.dot-break {
  background: repeating-linear-gradient(135deg, #f3c26b 0 4px, #fde7bd 4px 8px);
}

.bb-legend {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 13px;
}

.bb-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: none;
}

.bb-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.bb-roles div {
  padding: 12px;
  border-radius: 10px;
  background: #f5f6f8;
}

.bb-roles strong {
  display: block;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.35;
}

.bb-roles span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Approach */

.approach {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.principles li {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.principles li:hover {
  border-color: var(--line-strong);
}

.principle-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.principle-num {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.principles h3 {
  margin: 40px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.principles p {
  color: var(--muted);
  font-size: 16px;
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  padding: var(--section) 0;
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 400px at 90% 100%, rgba(45, 85, 240, 0.3), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.contact .grid {
  align-items: end;
  row-gap: 40px;
}

.contact-copy {
  grid-column: 1 / span 7;
}

.contact-text {
  margin-top: 20px;
  color: var(--dark-muted);
  font-size: 18px;
}

.contact-action {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-left: clamp(0px, 3vw, 48px);
  border-left: 1px solid var(--dark-line);
}

.contact-mail {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition: border-color 0.2s var(--ease);
}

.contact-mail:hover {
  border-color: #fff;
}

/* Footer */

.site-footer {
  padding: 72px 0 32px;
  background: var(--bg);
}

.footer-top {
  row-gap: 40px;
  padding-bottom: 56px;
}

.footer-brand {
  grid-column: 1 / span 5;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.footer-col {
  grid-column: span 2;
}

.footer-col:nth-child(2) {
  grid-column: 7 / span 2;
}

.footer-col:last-child {
  grid-column: 11 / span 2;
}

.footer-label {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  font-size: 15px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* Motion */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Large desktop */

@media (min-width: 1680px) {
  body { font-size: 18px; }
}

/* Small desktop / tablet landscape */

@media (max-width: 1180px) {
  .product-copy { grid-column: 1 / span 6; }
  .product-reverse .product-copy { grid-column: 7 / span 6; }
  .bb-roles { grid-template-columns: 1fr; }
  .bb-roles div { display: flex; justify-content: space-between; gap: 12px; }
  .bb-roles span { margin-top: 0; text-align: right; }
}

/* Tablet */

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--pad) 20px;
    background: var(--dark);
    border-bottom: 1px solid var(--dark-line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .main-nav a {
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--dark-line);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .hero-copy { grid-column: 1 / -1; padding-bottom: 0; }
  .hero-visual {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 560px;
    margin: 56px auto -14%;
  }

  .facts { grid-template-columns: 1fr; }
  .facts li,
  .facts li + li { padding: 24px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--dark-line); }
  .facts li:last-child { padding-bottom: 40px; }

  .section-head-main,
  .section-intro { grid-column: 1 / -1; }
  .section-intro { margin-top: 20px; max-width: 620px; }

  .product-copy,
  .product-reverse .product-copy,
  .product-visual,
  .product-reverse .product-visual { grid-column: 1 / -1; grid-row: auto; }
  .product-visual { margin-top: 40px; max-width: 620px; }
  .bb-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-roles div { display: block; }
  .bb-roles span { margin-top: 4px; text-align: left; }

  .principles { grid-template-columns: 1fr; }

  .contact-copy,
  .contact-action { grid-column: 1 / -1; }
  .contact-action { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--dark-line); }

  .footer-brand { grid-column: 1 / -1; }
  .footer-col,
  .footer-col:nth-child(2),
  .footer-col:last-child { grid-column: span 4; }
}

/* Phone */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .main-nav { top: 64px; }
  .hero { margin-top: -65px; padding-top: calc(65px + 56px); }
  .header-cta { display: none; }
  .brand-name { font-size: 19px; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-note { align-items: flex-start; }
  .hero-note svg { margin-top: 3px; }
  .phone { border-radius: 24px; padding: 5px; }
  .phone img { border-radius: 19px; }

  .product-visual { padding: 10% 8% 0; border-radius: 18px; }
  .product-visual .phone { width: 44%; }
  .visual-bb { padding: 16px; }
  .bb-roles { grid-template-columns: 1fr; }
  .bb-roles div { display: flex; justify-content: space-between; gap: 12px; }
  .bb-roles span { margin-top: 0; text-align: right; }
  .product-copy .btn { width: 100%; }

  .principles li { padding: 24px; }
  .principle-num { top: 24px; right: 24px; }
  .principles h3 { margin-top: 28px; }

  .contact-action .btn { width: 100%; }

  .footer-col,
  .footer-col:nth-child(2) { grid-column: span 6; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-top { row-gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
