/* My Horse World home page (index.html and en/index.html), from the design of the Fiuto home page: the app's colours
   and fonts. The fonts are served from here, not from Google. The other pages use style.css. */
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --terracotta: #2C5440; --terracotta-dark: #1F3D2E; --meadow: #9C5A2C; --vet: #C0392B;
  --brown: #2A231C; --brown-soft: #66594C; --brown-card: #3A3129; --brown-line: #4D4237; --brown-dash: #85776A;
  --cream: #FAF6EE; --sand: #EFE6D6; --sand-line: #DDCDB3;
  --display: "Fredoka", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--brown); font: 400 17px/1.6 "Inter", system-ui, sans-serif; }
a { color: var(--terracotta); }
a:hover { color: var(--terracotta-dark); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.i { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
        padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brown); text-decoration: none; font: 600 30px/1 var(--display); }
.brand:hover { color: var(--brown); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.nav-link { padding: 10px 2px; color: var(--brown); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-link:hover { color: var(--terracotta); }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--sand); }
.langs a, .langs span { padding: 9px 14px; border-radius: 999px; color: var(--brown); font-size: 14px; font-weight: 600;
                        line-height: 1.4; text-decoration: none; }
.langs span { background: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent;
       border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn-main { background: var(--terracotta); color: #fff; }
.btn-main:hover { background: var(--terracotta-dark); color: #fff; }
.btn-line { border-color: var(--brown); color: var(--brown); }
.btn-line:hover { background: var(--sand); color: var(--brown); }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 15px; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; margin: 0; padding: 6px 20px;
        border: 2px dashed var(--sand-line); border-radius: 26px; color: var(--brown-soft); font-weight: 600;
        line-height: 1.35; } /* a pill on one line, still tidy when a narrow phone wraps it */

/* Opening: title, buttons and a phone */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 88px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px;
        background: var(--sand); font-size: 14px; font-weight: 600; }
.pill .i { color: var(--terracotta); }
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.01em; }
h1 em { font-style: normal; color: var(--terracotta); }
.lead { margin: 24px 0 0; max-width: 560px; font-size: 20px; color: var(--brown-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px;
          color: var(--brown-soft); }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks .i, .ticks .i { color: var(--meadow); stroke-width: 2.4; }
.hero-art { flex: 1 1 400px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: center;
            padding: 24px 0; }
.hero-art::before { content: ""; position: absolute; width: min(500px, 100%); aspect-ratio: 1 / 1; border-radius: 50%;
                    background: var(--sand); }
.phone { position: relative; width: 280px; max-width: 100%; padding: 10px; border-radius: 44px; background: var(--brown);
         box-shadow: 0 30px 60px rgba(59, 42, 32, .18); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.hero-art .phone { width: 300px; max-width: 76%; border-radius: 46px; box-shadow: 0 40px 80px rgba(59, 42, 32, .22); }
.hero-art .phone img { border-radius: 36px; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; max-width: 230px; padding: 12px 16px;
        border-radius: 18px; background: #fff; box-shadow: 0 14px 32px rgba(59, 42, 32, .14); font-size: 14px;
        line-height: 1.35; color: var(--brown-soft); }
.chip b { display: block; color: var(--brown); }
.chip-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px;
             border-radius: 12px; color: #fff; }
.chip-icon .i { stroke-width: 2.6; }
.chip-vet { left: 0; top: 16%; }
.chip-vet .chip-icon { background: var(--vet); }
.chip-dogs { right: 0; bottom: 18%; }
.chip-dogs .chip-icon { background: var(--meadow); }

/* Numbers */
.numbers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px; border-radius: 32px; background: #fff;
           list-style: none; }
.numbers li { flex: 1 1 220px; padding: 20px 24px; color: var(--brown-soft); }
.numbers strong { display: block; margin-bottom: 6px; font: 600 42px/1.1 var(--display); color: var(--terracotta); }

/* Sections */
.section { padding-top: 112px; }
.section-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.sub { margin: 16px 0 0; font-size: 19px; color: var(--brown-soft); }

/* Features, each with its screenshot, alternating sides */
.features { display: flex; flex-direction: column; gap: 96px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 96px; }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature-text { flex: 1 1 420px; max-width: 540px; min-width: 0; }
.feature-shot { flex: 0 1 300px; display: flex; justify-content: center; }
.tile { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px;
        background: var(--sand); color: var(--terracotta); }
.eyebrow { margin: 20px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
           color: var(--terracotta); }
h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.feature h3 { margin-top: 8px; }
.feature-text > p:not(.eyebrow) { margin: 16px 0 0; font-size: 18px; color: var(--brown-soft); }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .i { margin-top: 3px; }

/* Privacy */
.privacy { padding: 56px clamp(24px, 5vw, 64px); border-radius: 40px; background: var(--sand); }
.privacy .sub { margin-top: 14px; max-width: 640px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.card { flex: 1 1 260px; padding: 28px; border-radius: 28px; background: #fff; }
.card .tile { width: 52px; height: 52px; border-radius: 16px; background: var(--cream); }
.card h3 { margin-top: 18px; font-size: 24px; line-height: 1.2; }
.card p { margin: 8px 0 0; color: var(--brown-soft); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; padding: 10px 0; color: var(--brown);
        font-weight: 600; }
.more:hover { color: var(--terracotta); }

/* Try Fiuto: iPhone, Android, browser */
.get { margin-top: 112px; background: var(--brown); color: var(--cream); }
.get .wrap { padding-top: 96px; padding-bottom: 80px; }
.get .sub { margin-top: 12px; color: var(--sand-line); }
.get .card { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--brown-card); }
.get .card .tile { background: var(--brown-line); color: var(--cream); }
.get .card h3 { margin-top: 8px; font-size: 26px; }
.get .card p { margin: 0; color: var(--sand-line); }
.get .card .btn { align-self: flex-start; min-height: 48px; margin-top: auto; padding: 0 22px; }
.get .card .soon { align-self: flex-start; min-height: 48px; margin-top: auto; border-color: var(--brown-dash);
                   color: var(--sand-line); }

/* Footer */
.foot { background: var(--brown); color: var(--sand-line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
              padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--brown-line); font-size: 15px; }
.foot p { margin: 0; }
.foot a { display: inline-block; padding: 10px 0; color: var(--cream); }
.foot a:hover { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot .osm { flex-basis: 100%; font-size: 14px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-link { display: none; } /* the same links are in the footer */
  .hero { gap: 40px; padding-top: 12px; padding-bottom: 64px; }
  .lead { font-size: 18px; }
  .chip { max-width: 180px; padding: 10px 12px; gap: 10px; font-size: 13px; }
  .chip-icon { width: 34px; height: 34px; border-radius: 10px; }
  .numbers li { flex-basis: 130px; padding: 14px 16px; }
  .numbers strong { font-size: 30px; }
  .section { padding-top: 80px; }
  .section-head { margin-bottom: 48px; }
  .features { gap: 72px; }
  .feature { gap: 40px; }
  .privacy { padding: 40px 20px; border-radius: 28px; }
  .get { margin-top: 80px; }
  .get .wrap { padding-top: 72px; padding-bottom: 64px; }
}

/* My Horse World has no screenshots yet: the hero shows the app's horseshoe on the sand circle, as its welcome
   screen does. */
.hero-mark { position: relative; display: block; width: min(300px, 62%); height: auto; color: var(--meadow); }
