/* FujiSims website. Colours from Assets/README.md. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("/fonts/InterDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #F7FAF8;
  --surface: #FFFFFF;
  --ink: #121710;
  --muted: #55645B;
  --line: #DCE6E0;
  --accent: #2E8A5E;
  --accent-soft: #E4F2EA;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E120C;
    --surface: #161B14;
    --ink: #EEF5F0;
    --muted: #9FB8A8;
    --line: #2A3327;
    --accent: #4FB985;
    --accent-soft: #1C2A21;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 2px; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo { display: block; line-height: 0; }
.logo img { height: 30px; width: auto; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo .light { display: none; }
  .logo .dark { display: inline; }
}
nav { display: flex; gap: 20px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

/* Content */

main { padding: 48px 0 64px; }

h1, h2, h3 {
  font-family: "Inter Display", "Inter", -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 36px; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 44px 0 12px; }
h3 { font-size: 18px; margin: 28px 0 8px; }

.updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.lede { font-size: 19px; color: var(--muted); }

ul { padding-left: 22px; }
li { margin: 6px 0; }

.summary {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0 8px;
}
.summary h2 { margin-top: 0; font-size: 18px; }
.summary ul { margin-bottom: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}
.card h2 { margin-top: 0; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
}
@media (prefers-color-scheme: dark) {
  .button { color: #0E120C; }
}

details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}
details[open] summary { margin-bottom: 8px; }

code {
  font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 5px;
}

/* Home */

.wrap.wide { max-width: 1040px; }
.site-header .wrap, .site-footer .wrap { max-width: 1040px; }

.home { padding: 0; }
.home > section { padding-top: 72px; padding-bottom: 72px; }
.home > .band { padding-top: 0; padding-bottom: 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap { padding-top: 72px; padding-bottom: 72px; }

.section-title { font-size: 30px; margin: 0 0 32px; text-align: center; }

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.hero-copy h1 { font-size: 48px; margin: 0 0 20px; }
.hero-copy .lede { margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.badge-soon {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
}
.text-link { font-weight: 600; text-decoration: none; }

/* Illustration of the app's camera screen */
.phone {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  padding: 12px;
  border-radius: 44px;
  background: #121710;
  box-shadow: 0 30px 60px -20px rgba(18, 23, 16, 0.45);
}
.phone-screen {
  background: #F2F5F3;
  color: #121710;
  border-radius: 34px;
  padding: 28px 16px 20px;
}
@media (prefers-color-scheme: dark) {
  .phone { background: #2A3327; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
  .phone-screen { background: #0E120C; color: #EEF5F0; }
}
.phone-title {
  font-family: "Inter Display", "Inter", sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 4px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.phone-title span { font-family: "Inter", sans-serif; font-weight: 400; font-size: 12px; color: var(--accent); }
.slots {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}
.slots li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.3;
}
.slots li:last-child { border-bottom: 0; }
.slots b {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
}
.slots span { display: flex; flex-direction: column; min-width: 0; }
.slots strong { font-weight: 600; }
.slots em { font-style: normal; color: var(--muted); font-size: 12px; }
.phone-button {
  margin-top: 14px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  border-radius: 12px;
}
@media (prefers-color-scheme: dark) {
  .phone-button { color: #0E120C; }
}

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.problem h3, .feature h3, .plan h3, .camera-card h3 { margin-top: 0; }
.problem {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.problem p { margin: 0 0 12px; color: var(--muted); }
.problem p.fix { margin: 0; color: var(--ink); padding-left: 14px; border-left: 3px solid var(--accent); }

.feature {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
}
.feature svg {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps li { margin: 0; }
.steps h3 { margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.step-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .step-n { color: #0E120C; }
}

.plans { max-width: 820px; margin: 0 auto; }
.plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--surface);
}
.plan.pro { border: 2px solid var(--accent); }
.price {
  font-family: "Inter Display", "Inter", sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
  margin: 4px 0 16px;
}
.price span { display: block; margin-top: 4px; font-family: "Inter", sans-serif; font-weight: 400; font-size: 15px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { position: relative; padding-left: 28px; margin: 10px 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #B86E00;
  background: rgba(255, 159, 10, 0.16);
  padding: 1px 8px;
  border-radius: 999px;
  margin-left: 4px;
}
@media (prefers-color-scheme: dark) {
  .soon { color: #FFB340; }
}
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.promise {
  max-width: 820px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--muted);
}

.cameras { max-width: 820px; margin: 0 auto 24px; }
.camera-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.camera-card p { margin: 0; color: var(--muted); }

.closing { text-align: center; }
.closing img { border-radius: 16px; }
.closing h2 { margin: 16px 0 8px; font-size: 28px; }
.closing p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { font-size: 38px; }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .home > section, .band > .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero-copy h1 { font-size: 32px; }
  .section-title { font-size: 24px; }
  .grid.three, .grid.two, .steps { grid-template-columns: 1fr; }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0 40px;
}
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  main { padding-top: 32px; }
}
