/* Wall Connect Manager for Tesla – website styles. Light, calm, system font only (no external fonts, scripts or images). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --hair: rgba(0, 0, 0, 0.09);
  --link: #0066cc;
  --blue: #0071e3;
  --sky: #2f9bff;
  --radius-l: 28px;
  --radius-m: 20px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---- navigation ---------------------------------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.site-nav .bar { display: flex; align-items: center; gap: 22px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.site-nav .links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 13px; }
.site-nav .links a { color: var(--text); opacity: 0.85; }
.site-nav .links a:hover { opacity: 1; text-decoration: none; }
.pill { background: var(--blue); color: #fff !important; opacity: 1 !important; border-radius: 980px; padding: 5px 13px; font-size: 12px; font-weight: 500; }
.pill:hover { background: #0062c4; text-decoration: none; }

/* ---- screenshots ------------------------------------------------------------------------------------------------ */
/* Screens of iPhone and iPad with the corner radius of the device display and a soft shadow. */
.phone, .tablet { position: relative; }
.phone img { width: 100%; border-radius: 14.1% / 6.49%; box-shadow: 0 0 0 1px var(--hair), 0 34px 64px -34px rgba(10, 60, 120, 0.34); }
.tablet img { width: 100%; border-radius: 3.1% / 2.33%; box-shadow: 0 0 0 1px var(--hair), 0 34px 64px -34px rgba(10, 60, 120, 0.30); }

/* ---- hero ------------------------------------------------------------------------------------------------------ */
.hero { padding: 76px 0 84px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.hero-icon { width: 96px; height: 96px; margin: 0 0 22px; }
.eyebrow {
  margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.028em; font-weight: 700; margin: 10px 0 20px; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--muted); margin: 0 0 32px; max-width: 30em; letter-spacing: -0.012em; }
.badge { display: inline-block; }
.badge img { height: 54px; width: auto; }
.small { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.hero-media { justify-self: center; width: 100%; max-width: 330px; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 8% -30% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 132, 255, 0.20), rgba(90, 190, 255, 0.12) 55%, rgba(255, 255, 255, 0)); }
.hero .grid > div:first-child { position: relative; z-index: 1; }

/* ---- sections ------------------------------------------------------------------------------------------------ */
section { padding: 96px 0; }
.alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 24px; }
.intro { text-align: center; font-size: 19px; color: var(--muted); max-width: 40em; margin: 0 auto 48px; }

.row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0; }
.row.flip { grid-template-columns: 1.15fr 0.85fr; }
.row.flip .media { order: 2; }
.row.wide { grid-template-columns: 1.2fr 0.8fr; }
.row .media { justify-self: center; width: 100%; max-width: 290px; }
.row.wide .media { max-width: 520px; }
.row h3 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.1; letter-spacing: -0.022em; font-weight: 700; margin: 0 0 16px; }
.row p { font-size: 19px; line-height: 1.47; color: var(--muted); margin: 0; max-width: 30em; }
.tag { display: inline-block; vertical-align: 0.32em; margin-left: 6px; padding: 3px 9px; border-radius: 980px; font-size: 13px; font-weight: 600;
  letter-spacing: 0; color: #fff; background: linear-gradient(90deg, var(--blue), var(--sky)); }

/* iPad with an iPhone in front of it */
.pair { position: relative; padding: 0 13% 7% 0; }
.pair .phone { position: absolute; right: 0; bottom: 0; width: 31%; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--bg); border-radius: var(--radius-m); padding: 34px 30px 36px; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue), var(--sky)); }
.tile .ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.018em; font-weight: 700; margin: 0 0 10px; }
.tile p { font-size: 17px; color: var(--muted); margin: 0; }

/* ---- Pro --------------------------------------------------------------------------------------------------------- */
.pro-card { max-width: 880px; margin: 40px auto 0; border: 1px solid var(--hair); border-radius: var(--radius-l); padding: 44px 48px 40px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.checks svg circle { fill: var(--blue); }
.checks svg path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pro-card .note { margin: 32px 0 0; padding-top: 26px; border-top: 1px solid var(--hair); font-size: 17px; color: var(--muted); }

/* ---- FAQ ------------------------------------------------------------------------------------------------------ */
.faq { max-width: 820px; margin: 40px auto 0; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 2px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 2px 24px; font-size: 17px; color: var(--muted); max-width: 44em; }

/* ---- support ----------------------------------------------------------------------------------------------------- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group { background: var(--bg-alt); border-radius: var(--radius-m); padding: 30px 28px 26px; }
.group h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.016em; font-weight: 700; margin: 0 0 14px; }
.group ul { margin: 0; padding: 0; list-style: none; }
.group li { font-size: 15px; line-height: 1.47; color: var(--muted); margin: 0 0 12px; }
.group li strong { color: var(--text); font-weight: 600; }
.support { text-align: center; margin-top: 48px; }
.button { display: inline-block; border-radius: 980px; padding: 12px 24px; font-size: 17px; font-weight: 500;
  border: 1px solid var(--blue); color: var(--blue); }
.button:hover { background: var(--blue); color: #fff; text-decoration: none; }
.support .address { display: inline-block; margin-top: 14px; font-size: 15px; }

/* ---- download -------------------------------------------------------------------------------------------------- */
.download { text-align: center; }
.download img.icon { width: 112px; height: 112px; margin: 0 auto 18px; }
.download h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 10px; }
.download p { color: var(--muted); font-size: 19px; margin: 0 0 30px; }
.download .badge img { margin: 0 auto; }

/* ---- privacy policy (on the home page) and legal notice ------------------------------------------------------------ */
.policy, .legal article { max-width: 760px; margin: 0 auto; }
.policy h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 12px; }
.policy .updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.policy h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.016em; font-weight: 700; margin: 40px 0 10px; }
.policy p, .policy li, .legal p, .legal li { font-size: 17px; }
.policy ul, .legal ul { padding-left: 1.2em; }
.policy li, .legal li { margin: 4px 0; }
.policy a, .legal a { overflow-wrap: anywhere; }
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 28px; }
.legal .back { display: inline-block; font-size: 15px; margin-bottom: 26px; }
.legal .back::before { content: "\2039  "; }

/* ---- footer ---------------------------------------------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--hair); padding: 26px 0 40px; font-size: 12px; color: var(--muted); letter-spacing: -0.01em; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--text); opacity: 0.8; }
.site-footer p { margin: 0; }

/* ---- small screens ---------------------------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .groups { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .site-nav .links > a:not(.pill) { display: none; }
  .hero { padding: 48px 0 64px; text-align: center; }
  .hero .grid, .row, .row.flip, .row.wide { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-icon { margin: 0 auto 18px; }
  .hero-media { max-width: 280px; }
  .lead { margin-left: auto; margin-right: auto; }
  .row { padding: 36px 0; text-align: center; }
  .row .text { order: -1; }
  .row.flip .media { order: 0; }
  .row p { margin: 0 auto; }
  .row .media { max-width: 260px; }
  .row.wide .media { max-width: 460px; }
  .tiles { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .pro-card { padding: 32px 24px 28px; }
  section { padding: 72px 0; }
  .site-footer .top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .site-nav .bar { gap: 12px; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}

/* ---- 404 ------------------------------------------------------------------------------------------------------ */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.025em; margin: 0 0 12px; }
.notfound p { color: var(--muted); font-size: 19px; margin: 6px 0; }
